




'''simple docstring'''


from math import factorial

_snake_case : Optional[int]  				=						{str(d): factorial(d) for d in range(10)}
def 						snake_case_       (UpperCamelCase			:    int ):





							'''simple docstring'''


							return sum(DIGIT_FACTORIAL[d] for d in str(UpperCamelCase ) )
def 						snake_case_       ():





							'''simple docstring'''


							_a      	=							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'''
def 					lowerCamelCase_ ( __UpperCamelCase					:       int		)					->	bool:







     """simple docstring"""
     if num < 0:
          return False

     _A				=							num
     _A				=							0
     while num > 0:
          _A				=							rev_num * 1_0 + (num % 1_0)
          num //= 1_0

     return num_copy == rev_num


if __name__ == "__main__":
    import doctest

    doctest.testmod()





