

"""simple docstring"""


import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


__A						   =			HUGGINGFACE_HUB_CACHE


__A						   =			"config.json"
__A						   =			"diffusion_pytorch_model.bin"
__A						   =			"diffusion_flax_model.msgpack"
__A						   =			"model.onnx"
__A						   =			"diffusion_pytorch_model.safetensors"
__A						   =			"weights.pb"
__A						   =			"https://huggingface.co"
__A						   =			default_cache_path
__A						   =			"diffusers_modules"
__A						   =			os.getenv("HF_MODULES_CACHE", os.path.join(hf_cache_home, "modules"))
__A						   =			["fp16", "non-ema"]
__A						   =			".self_attn"





"""simple docstring"""


def     a__    (    __SCREAMING_SNAKE_CASE )	->	int:
		__lowerCAmelCase:       Optional[Any]          =			1
		for i in range(1					, num + 1 ):
				fact *= i
		return fact






def     a__    (    __SCREAMING_SNAKE_CASE )	->	int:
		__lowerCAmelCase:       List[str]          =			0
		while number > 0:
				__lowerCAmelCase:       Any          =			number % 1_0
				sum_of_digits += last_digit
				__lowerCAmelCase:       List[Any]          =			number // 1_0  # Removing the last_digit from the given number
		return sum_of_digits






def     a__    (    __SCREAMING_SNAKE_CASE = 1_0_0 )	->	int:
		__lowerCAmelCase:       Tuple          =			factorial(__SCREAMING_SNAKE_CASE )
		__lowerCAmelCase:       Optional[int]          =			split_and_add(__SCREAMING_SNAKE_CASE )
		return result


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


