
from __future__ import annotations

from enum import Enum

class 		lowercase_							(							_lowerCamelCase					):
 A__    :					Optional[int]    =     24
 A__    :					Dict    =     21
 A__    :					Optional[int]    =     18
 A__    :					Dict    =     15
 A__    :					Union[str, Any]    =     12
 A__    :					Optional[Any]    =     9
 A__    :					Union[str, Any]    =     6
 A__    :					str    =     3
 A__    :					str    =     2
 A__    :					str    =     1
 A__    :					Any    =     -1
 A__    :					Dict    =     -2
 A__    :					List[Any]    =     -3
 A__    :					Dict    =     -6
 A__    :					int    =     -9
 A__    :					Union[str, Any]    =     -12
 A__    :					Optional[Any]    =     -15
 A__    :					Dict    =     -18
 A__    :					int    =     -21
 A__    :					Any    =     -24



class 		lowercase_							(							_lowerCamelCase					):
 A__    :					str    =     8
 A__    :					List[str]    =     7
 A__    :					int    =     6
 A__    :					Optional[Any]    =     5
 A__    :					int    =     4
 A__    :					Optional[int]    =     3
 A__    :					Optional[int]    =     2
 A__    :					Union[str, Any]    =     1




def 					lowerCamelCase__					(    a__	:	Optional[Any]						,   a__	:	Any						,   a__	:	int						,   )		->						float:


       if isinstance(lowerCAmelCase_						,   lowerCAmelCase_  ):
              UpperCamelCase_											=							SIUnit[known_prefix.lower()]
       if isinstance(lowerCAmelCase_						,   lowerCAmelCase_  ):
              UpperCamelCase_											=							SIUnit[unknown_prefix.lower()]
       UpperCamelCase_											=							known_amount * (
           10 ** (known_prefix.value - unknown_prefix.value)
       )
       return unknown_amount




def 					lowerCamelCase__					(    a__	:	int						,   a__	:	Union[str, Any]						,   a__	:	int						,   )		->						float:


       if isinstance(lowerCAmelCase_						,   lowerCAmelCase_  ):
              UpperCamelCase_											=							BinaryUnit[known_prefix.lower()]
       if isinstance(lowerCAmelCase_						,   lowerCAmelCase_  ):
              UpperCamelCase_											=							BinaryUnit[unknown_prefix.lower()]
       UpperCamelCase_											=							known_amount * (
           2 ** ((known_prefix.value - unknown_prefix.value) * 10)
       )
       return unknown_amount


if __name__ == "__main__":
      import doctest

      doctest.testmod()








'''simple docstring'''






import itertools




def        snake_case_   (	lowerCAmelCase_						)->						Dict:





       '''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        snake_case_   (	)->						str:





       '''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())



