


import itertools






def    _UpperCAmelCase	(   __lowerCamelCase       )		->List[Any]:


 '''simple docstring'''
 return (
     int(''''''.join(combination[0:2]       )       ) * int(''''''.join(combination[2:5]       )       )
     == int(''''''.join(combination[5:9]       )       )
 ) or (
     int(''''''.join(combination[0]       )       ) * int(''''''.join(combination[1:5]       )       )
     == int(''''''.join(combination[5:9]       )       )
 )






def    _UpperCAmelCase	(   )		->Dict:


 '''simple docstring'''
 return sum(
     {
         int(''''''.join(pandigital[5:9]       )       )
         for pandigital in itertools.permutations('''123456789'''       )
         if is_combination_valid(__lowerCamelCase       )
     }       )


if __name__ == "__main__":
  print(solution())










from typing import Callable






def    _UpperCAmelCase	(   __lowerCamelCase       )		->Tuple:


 '''simple docstring'''

 def wrapper(__lowerCamelCase       ):
  snake_case   : str	  =      function_with_docstring.__doc__
  return target_function

 return wrapper






