
"""simple docstring"""





from math import factorial

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







def   A__ ( A__		)		->			int:





   '''simple docstring'''




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







def   A__ ( )		->			int:





   '''simple docstring'''




   _UpperCAmelCase         =      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   a_   (		_UpperCAmelCase    :      list[int]				)    ->  bool:
      return len(set(_UpperCAmelCase				)				) == len(_UpperCAmelCase				)


if __name__ == "__main__":
    import doctest

    doctest.testmod()



