






"""simple docstring"""

from math import factorial

def 		__lowerCamelCase	(  __UpperCamelCase = 100       )						->    int:

		"""simple docstring"""







		return sum(int(__UpperCamelCase       ) for x in str(factorial(__UpperCamelCase       )       )       )


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








from ....configuration_utils import PretrainedConfig
from ....utils import logging


UpperCAmelCase_ :						List[str]      =      logging.get_logger(__name__)

UpperCAmelCase_ :						int      =      {
    '''CarlCochet/trajectory-transformer-halfcheetah-medium-v2''': (
        '''https://huggingface.co/CarlCochet/trajectory-transformer-halfcheetah-medium-v2/resolve/main/config.json'''
    ),
    # See all TrajectoryTransformer models at https://huggingface.co/models?filter=trajectory_transformer
}

class     _SCREAMING_SNAKE_CASE       (			_a      ):
	snake_case__							:     Any     	=  """trajectory_transformer"""
	snake_case__							:     Optional[Any]     	=  ["""past_key_values"""]
	snake_case__							:     Tuple     	=  {
	    """hidden_size""": """n_embd""",
	    """num_attention_heads""": """n_head""",
	    """num_hidden_layers""": """n_layer""",
	}





	def __init__(		self				:					Union[str, Any] ,  __lowerCamelCase				:					Any=100 ,  __lowerCamelCase				:					str=5 ,  __lowerCamelCase				:					str=1 ,  __lowerCamelCase				:					Optional[int]=1 ,  __lowerCamelCase				:					int=249 ,  __lowerCamelCase				:					str=6 ,  __lowerCamelCase				:					Dict=17 ,  __lowerCamelCase				:					Optional[Any]=25 ,  __lowerCamelCase				:					List[str]=4 ,  __lowerCamelCase				:					str=4 ,  __lowerCamelCase				:					Tuple=128 ,  __lowerCamelCase				:					Dict=0.1 ,  __lowerCamelCase				:					str=0.1 ,  __lowerCamelCase				:					Any=0.1 ,  __lowerCamelCase				:					int=0.0006 ,  __lowerCamelCase				:					List[str]=512 ,  __lowerCamelCase				:					str=0.02 ,  __lowerCamelCase				:					Any=1E-12 ,  __lowerCamelCase				:					int=1 ,  __lowerCamelCase				:					Optional[Any]=True ,  __lowerCamelCase				:					Tuple=1 ,  __lowerCamelCase				:					int=50_256 ,  __lowerCamelCase				:					Union[str, Any]=50_256 ,  **__lowerCamelCase				:					Dict ,  ):
		UpperCamelCase     :Dict          =	vocab_size
		UpperCamelCase     :int          =	action_weight
		UpperCamelCase     :Tuple          =	reward_weight
		UpperCamelCase     :str          =	value_weight
		UpperCamelCase     :Tuple          =	max_position_embeddings
		UpperCamelCase     :Tuple          =	block_size
		UpperCamelCase     :Optional[int]          =	action_dim
		UpperCamelCase     :int          =	observation_dim
		UpperCamelCase     :List[str]          =	transition_dim
		UpperCamelCase     :List[Any]          =	learning_rate
		UpperCamelCase     :Optional[Any]          =	n_layer
		UpperCamelCase     :Any          =	n_head
		UpperCamelCase     :List[str]          =	n_embd
		UpperCamelCase     :Any          =	embd_pdrop
		UpperCamelCase     :str          =	attn_pdrop
		UpperCamelCase     :Union[str, Any]          =	resid_pdrop
		UpperCamelCase     :Optional[Any]          =	initializer_range
		UpperCamelCase     :List[Any]          =	layer_norm_eps
		UpperCamelCase     :Optional[int]          =	kaiming_initializer_range
		UpperCamelCase     :Tuple          =	use_cache
		super().__init__(pad_token_id=__lowerCamelCase ,  bos_token_id=__lowerCamelCase ,  eos_token_id=__lowerCamelCase ,  **__lowerCamelCase	)
