






'''simple docstring'''






import functools




def        _SCREAMING_SNAKE_CASE  (				A  :       str  ,		A  :       str  )    -> int:







   """simple docstring"""
   __snake_case				:      int     							= len(A  )
   __snake_case				:      Optional[Any]     							= len(A  )

   @functools.cache
   def min_distance(A  :       int  ,		A  :       int  ) -> int:
      # if first word index is overflow - delete all from the second word
      if indexa >= len_worda:
         return len_worda - indexa
      # if second word index is overflow - delete all from the first word
      if indexa >= len_worda:
         return len_worda - indexa
      __snake_case				:      str     							= int(worda[indexa] != worda[indexa]  )  # current letters not identical
      return min(
          1 + min_distance(indexa + 1  ,		A  )  ,		1 + min_distance(A  ,		indexa + 1  )  ,		diff + min_distance(indexa + 1  ,		indexa + 1  )  ,		)

   return min_distance(0  ,		0  )


if __name__ == "__main__":
      import doctest

      doctest.testmod()







'''simple docstring'''






def        _SCREAMING_SNAKE_CASE  (				A  :       int  )    -> int:







   """simple docstring"""
   __snake_case				:      str     							= 1
   for i in range(1  ,		num + 1  ):
      fact *= i
   return fact




def        _SCREAMING_SNAKE_CASE  (				A  :       int  )    -> int:







   """simple docstring"""
   __snake_case				:      Union[str, Any]     							= 0
   while number > 0:
      __snake_case				:      Dict     							= number % 10
      sum_of_digits += last_digit
      __snake_case				:      Union[str, Any]     							= number // 10  # Removing the last_digit from the given number
   return sum_of_digits




def        _SCREAMING_SNAKE_CASE  (				A  :       int = 1_00  )    -> int:







   """simple docstring"""
   __snake_case				:      List[Any]     							= factorial(A  )
   __snake_case				:      Dict     							= split_and_add(A  )
   return result


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