





from functools import lru_cache
@lru_cache
def 					_A	(		SCREAMING_SNAKE_CASE					:       int						):





  """simple docstring"""



  if num < 0:
    raise ValueError("Number should not be negative."						)

  return 1 if num in (0, 1) else num * factorial(num - 1						)


if __name__ == "__main__":
     import doctest

     doctest.testmod()













import os
def 					_A	(		):





  """simple docstring"""



  a__     : Optional[int]  =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())






