






'''simple docstring'''
from math import factorial

UpperCamelCase__			=      {str(d): factorial(d) for d in range(10)}




def 		__SCREAMING_SNAKE_CASE       (	_UpperCamelCase				):


   """simple docstring"""




   return sum(DIGIT_FACTORIAL[d] for d in str(_UpperCamelCase				)				)




def 		__SCREAMING_SNAKE_CASE       (	):


   """simple docstring"""




   lowercase_						:     str							     =  7 * factorial(9				) + 1
   return sum(i for i in range(3    ,		_UpperCamelCase				) if sum_of_digit_factorial(_UpperCamelCase				) == i				)


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












'''simple docstring'''
from __future__ import annotations




def 		__SCREAMING_SNAKE_CASE       (	_UpperCamelCase				):


   """simple docstring"""




   lowercase_						:     Optional[int]							     =  2
   lowercase_						:     Tuple							     =  []
   while i * i <= n:
      if n % i:
         i += 1
      else:
         n //= i
         factors.append(_UpperCamelCase				)
   if n > 1:
      factors.append(_UpperCamelCase				)
   return factors


if __name__ == "__main__":
 import doctest

 doctest.testmod()




