






'''simple docstring'''






from math import factorial




def        _SCREAMING_SNAKE_CASE  (				A  :       Union[str, Any] = 1_00  )    -> Dict:







			"""simple docstring"""
			return sum(int(A  ) for x in str(factorial(A  )  )  )


if __name__ == "__main__":
						print(solution(int(input('''Enter the Number: ''').strip())))







'''simple docstring'''






__A    	=   {str(digit): digit**5 for digit in range(1_0)}




def        _SCREAMING_SNAKE_CASE  (				A  :       int  )    -> int:







   """simple docstring"""
   return sum(DIGITS_FIFTH_POWER[digit] for digit in str(A  )  )




def        _SCREAMING_SNAKE_CASE  (				)    -> int:







   """simple docstring"""
   return sum(
       number
       for number in range(10_00  ,		1_00_00_00  )
       if number == digits_fifth_powers_sum(A  )  )


if __name__ == "__main__":
      print(solution())