from math import factorial

snake_case__				= {str(d): factorial(d) for d in range(10)}
def       __magic_name__(  __UpperCAmelCase		)						->    int:



      '''simple docstring'''

      return sum(DIGIT_FACTORIAL[d] for d in str(_SCREAMING_SNAKE_CASE		)		)
def       __magic_name__(  )						->    int:



      '''simple docstring'''

      _lowerCamelCase			    =				7 * factorial(9		) + 1
      return sum(i for i in range(3 ,						_SCREAMING_SNAKE_CASE		) if sum_of_digit_factorial(_SCREAMING_SNAKE_CASE		) == i		)


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


def       __magic_name__(  __UpperCAmelCase ,						__UpperCAmelCase		)						->    str:



      '''simple docstring'''

      _lowerCamelCase			    =				0
      while b > 0:
            if b & 1:
                  res += a

            a += a
            b >>= 1

      return res
def       __magic_name__(  __UpperCAmelCase ,						__UpperCAmelCase ,						__UpperCAmelCase		)						->    Optional[Any]:



      '''simple docstring'''

      _lowerCamelCase			    =				0
      while b > 0:
            if b & 1:
                  _lowerCamelCase			    =				((res % c) + (a % c)) % c

            a += a
            b >>= 1

      return res