



import os
import sys
from contextlib import contextmanager


# Windows only
if os.name == "nt":
			import ctypes
			import msvcrt  # noqa



			class 	lowerCamelCase      (						ctypes.Structure  ):







								'''simple docstring'''







								lowerCAmelCase_				:    Dict									=  [('size', ctypes.c_int), ('visible', ctypes.c_byte)]







def snake_case__  (			)		->							List[str]:
		if os.name == "nt":
				UpperCAmelCase_						=				CursorInfo()
				UpperCAmelCase_						=				ctypes.windll.kernelaa.GetStdHandle(-11 )
				ctypes.windll.kernelaa.GetConsoleCursorInfo(__SCREAMING_SNAKE_CASE			,     ctypes.byref(__SCREAMING_SNAKE_CASE ) )
				UpperCAmelCase_						=				False
				ctypes.windll.kernelaa.SetConsoleCursorInfo(__SCREAMING_SNAKE_CASE			,     ctypes.byref(__SCREAMING_SNAKE_CASE ) )
		elif os.name == "posix":
				sys.stdout.write("\033[?25l" )
				sys.stdout.flush()







def snake_case__  (			)		->							Optional[int]:
		if os.name == "nt":
				UpperCAmelCase_						=				CursorInfo()
				UpperCAmelCase_						=				ctypes.windll.kernelaa.GetStdHandle(-11 )
				ctypes.windll.kernelaa.GetConsoleCursorInfo(__SCREAMING_SNAKE_CASE			,     ctypes.byref(__SCREAMING_SNAKE_CASE ) )
				UpperCAmelCase_						=				True
				ctypes.windll.kernelaa.SetConsoleCursorInfo(__SCREAMING_SNAKE_CASE			,     ctypes.byref(__SCREAMING_SNAKE_CASE ) )
		elif os.name == "posix":
				sys.stdout.write("\033[?25h" )
				sys.stdout.flush()







@contextmanager
def snake_case__  (			)		->							List[Any]:
		try:
				hide_cursor()
				yield
		finally:
				show_cursor()






def snake_case__  (			__SCREAMING_SNAKE_CASE )		->							int:
		UpperCAmelCase_						=				1
		for i in range(1			,     num + 1 ):
				fact *= i
		return fact







def snake_case__  (			__SCREAMING_SNAKE_CASE )		->							int:
		UpperCAmelCase_						=				0
		while number > 0:
				UpperCAmelCase_						=				number % 10
				sum_of_digits += last_digit
				UpperCAmelCase_						=				number // 10  # Removing the last_digit from the given number
		return sum_of_digits







def snake_case__  (			__SCREAMING_SNAKE_CASE = 100 )		->							int:
		UpperCAmelCase_						=				factorial(__SCREAMING_SNAKE_CASE )
		UpperCAmelCase_						=				split_and_add(__SCREAMING_SNAKE_CASE )
		return result


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

