






'''simple docstring'''






class a_    :







   def __init__(self					,   __a)			->      None:
      """simple docstring"""






      __snake_case				:      Optional[int]     							= size
      __snake_case				:      Dict     							= [0] * size
      __snake_case				:      str     							= [0] * size







   @staticmethod
   def     SCREAMING_SNAKE_CASE__					(__a)			->      int:
      """simple docstring"""






      return index | (index + 1)







   @staticmethod
   def     SCREAMING_SNAKE_CASE__					(__a)			->      int:
      """simple docstring"""






      return (index & (index + 1)) - 1







   def     SCREAMING_SNAKE_CASE__					(self					,   __a					,   __a)			->      None:
      """simple docstring"""






      __snake_case				:      str     							= value
      while index < self.size:
         __snake_case				:      Any     							= self.get_prev(__a) + 1
         if current_left_border == index:
            __snake_case				:      Any     							= value
         else:
            __snake_case				:      List[Any]     							= max(__a					,   __a					,   __a)
         __snake_case				:      List[str]     							= self.get_next(__a)







   def     SCREAMING_SNAKE_CASE__					(self					,   __a					,   __a)			->      int:
      """simple docstring"""






      right -= 1  # Because of right is exclusive
      __snake_case				:      int     							= 0
      while left <= right:
         __snake_case				:      Dict     							= self.get_prev(__a)
         if left <= current_left:
            __snake_case				:      List[str]     							= max(__a					,   self.tree[right])
            __snake_case				:      Any     							= current_left
         else:
            __snake_case				:      Any     							= max(__a					,   self.arr[right])
            right -= 1
      return result


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())))