'''simple docstring'''

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


__a: Tuple          =   logging.get_logger(__name__)

__a: int          =   {"""ctrl""": """https://huggingface.co/ctrl/resolve/main/config.json"""}



class 			UpperCAmelCase  (						a__					):





       '''simple docstring'''



       SCREAMING_SNAKE_CASE							=    "ctrl"
       SCREAMING_SNAKE_CASE							=    ["past_key_values"]
       SCREAMING_SNAKE_CASE							=    {
           "max_position_embeddings": "n_positions",
           "hidden_size": "n_embd",
           "num_attention_heads": "n_head",
           "num_hidden_layers": "n_layer",
       }

       def __init__(						self	,   __lowerCAmelCase=246534	,   __lowerCAmelCase=256	,   __lowerCAmelCase=1280	,   __lowerCAmelCase=8192	,   __lowerCAmelCase=48	,   __lowerCAmelCase=16	,   __lowerCAmelCase=0.1	,   __lowerCAmelCase=0.1	,   __lowerCAmelCase=1E-6	,   __lowerCAmelCase=0.0_2	,   __lowerCAmelCase=True	,   **__lowerCAmelCase	,   )  ->  str:
        lowercase__				:    Any  =					vocab_size
        lowercase__				:    Optional[Any]  =					n_positions
        lowercase__				:    int  =					n_embd
        lowercase__				:    Union[str, Any]  =					n_layer
        lowercase__				:    List[str]  =					n_head
        lowercase__				:    int  =					dff
        lowercase__				:    int  =					resid_pdrop
        lowercase__				:    Dict  =					embd_pdrop
        lowercase__				:    Any  =					layer_norm_epsilon
        lowercase__				:    str  =					initializer_range

        lowercase__				:    Optional[int]  =					use_cache

        super().__init__(**__lowerCAmelCase )


'''simple docstring'''

def 			__UpperCamelCase       (   UpperCAmelCase     ):
 lowercase__				:    Optional[int]  =					1
 for i in range(1		,     num + 1     ):
  fact *= i
 return fact
def 			__UpperCamelCase       (   UpperCAmelCase     ):
 lowercase__				:    Optional[Any]  =					0
 while number > 0:
  lowercase__				:    str  =					number % 10
  sum_of_digits += last_digit
  lowercase__				:    List[str]  =					number // 10  # Removing the last_digit from the given number
 return sum_of_digits
def 			__UpperCamelCase       (   UpperCAmelCase = 100     ):
 lowercase__				:    Optional[int]  =					factorial(UpperCAmelCase     )
 lowercase__				:    Dict  =					split_and_add(UpperCAmelCase     )
 return result


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

