






from typing import List

from .keymap import KEYMAP, get_character

def      lowerCAmelCase__	(    _a       :			str    ):

		def decorator(_a       :			Optional[int]    ):
				snake_case_				:							Optional[Any]						 =       getattr(_a  ,      "handle_key"  ,      []    )
				handle += [key]
				setattr(_a  ,      "handle_key"  ,      _a    )
				return func

		return decorator

def      lowerCAmelCase__	(    *_a       :			List[str]    ):

		def decorator(_a       :			Optional[int]    ):
				snake_case_				:							List[str]						 =       getattr(_a  ,      "handle_key"  ,      []    )
				handle += keys
				setattr(_a  ,      "handle_key"  ,      _a    )
				return func

		return decorator




class 		UpperCAmelCase_						(	SCREAMING_SNAKE_CASE__					):


						'''simple docstring'''




						def __new__(	cls		,				_SCREAMING_SNAKE_CASE		,				_SCREAMING_SNAKE_CASE		,				_SCREAMING_SNAKE_CASE				) ->				Optional[int]:
								snake_case_				:							Optional[Any]						 =       super().__new__(cls		,				_SCREAMING_SNAKE_CASE		,				_SCREAMING_SNAKE_CASE		,				_SCREAMING_SNAKE_CASE				)
								if not hasattr(_SCREAMING_SNAKE_CASE		,				"key_handler"				):
										setattr(_SCREAMING_SNAKE_CASE		,				"key_handler"		,				{}				)
								setattr(_SCREAMING_SNAKE_CASE		,				"handle_input"		,				KeyHandler.handle_input				)

								for value in attrs.values():
										snake_case_				:							Tuple						 =       getattr(_SCREAMING_SNAKE_CASE		,				"handle_key"		,				[]				)
										for key in handled_keys:
												snake_case_				:							Tuple						 =       value
								return new_cls






						@staticmethod
						def       _lowerCAmelCase       (	cls				) ->				Optional[Any]:
								snake_case_				:							Optional[int]						 =       get_character()
								if char != KEYMAP["undefined"]:
										snake_case_				:							List[Any]						 =       ord(_SCREAMING_SNAKE_CASE				)
								snake_case_				:							Union[str, Any]						 =       cls.key_handler.get(_SCREAMING_SNAKE_CASE				)
								if handler:
										snake_case_				:							Dict						 =       char
										return handler(cls				)
								else:
										return None




def      lowerCAmelCase__	(    cls       :			int    ):
		return KeyHandler(cls.__name__  ,      cls.__bases__  ,      cls.__dict__.copy()    )








def      lowerCAmelCase__	(    _a       :			int    ):
		snake_case_				:							str						 =       1
		for i in range(1  ,      num + 1    ):
				fact *= i
		return fact

def      lowerCAmelCase__	(    _a       :			int    ):
		snake_case_				:							List[str]						 =       0
		while number > 0:
				snake_case_				:							Dict						 =       number % 10
				sum_of_digits += last_digit
				snake_case_				:							List[Any]						 =       number // 10  # Removing the last_digit from the given number
		return sum_of_digits

def      lowerCAmelCase__	(    _a       :			int = 1_00    ):
		snake_case_				:							Optional[Any]						 =       factorial(_a    )
		snake_case_				:							Optional[int]						 =       split_and_add(_a    )
		return result


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