



"""simple docstring"""
from math import factorial

_UpperCAmelCase     =			{str(d): factorial(d) for d in range(1_0)}





def      __magic_name__				(							lowercase ):
   return sum(DIGIT_FACTORIAL[d] for d in str(lowercase ) )





def      __magic_name__				(							):
   SCREAMING_SNAKE_CASE_: Optional[int]     			=7 * factorial(9 ) + 1
   return sum(i for i in range(3							,			lowercase ) if sum_of_digit_factorial(lowercase ) == i )


if __name__ == "__main__":
   print(f"""{solution() = }""")








"""simple docstring"""
from __future__ import annotations





def      __magic_name__				(							lowercase							,			lowercase ):
   SCREAMING_SNAKE_CASE_: List[Any]     			=sorted(numsa + numsa )
   SCREAMING_SNAKE_CASE_			,		SCREAMING_SNAKE_CASE_: Tuple     			=divmod(len(lowercase )							,			2 )
   if mod == 1:
      return all_numbers[div]
   else:
      return (all_numbers[div] + all_numbers[div - 1]) / 2


if __name__ == "__main__":
   import doctest

   doctest.testmod()
   _UpperCAmelCase     =			[float(x) for x in input("""Enter the elements of first array: """).split()]
   _UpperCAmelCase     =			[float(x) for x in input("""Enter the elements of second array: """).split()]
   print(f"""The median of two arrays is: {median_of_two_arrays(array_a, array_a)}""")



