


from math import factorial






def 	__lowerCAmelCase   (SCREAMING_SNAKE_CASE = 100 )->  int:




      """simple docstring"""

      return sum(map(SCREAMING_SNAKE_CASE , str(factorial(SCREAMING_SNAKE_CASE ) ) ) )


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



import os






def 	__lowerCAmelCase   ()->  List[Any]:




      """simple docstring"""

      snake_case_	=				os.path.join(os.path.dirname(SCREAMING_SNAKE_CASE ) , '''num.txt''' )
      with open(SCREAMING_SNAKE_CASE ) as file_hand:
            return str(sum(int(SCREAMING_SNAKE_CASE ) for line in file_hand ) )[:10]


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