





from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


_lowerCamelCase			:	str							 =     logging.get_logger(__name__)

_lowerCamelCase			:	int							 =     {
    'junnyu/roformer_chinese_small': 'https://huggingface.co/junnyu/roformer_chinese_small/resolve/main/config.json',
    'junnyu/roformer_chinese_base': 'https://huggingface.co/junnyu/roformer_chinese_base/resolve/main/config.json',
    'junnyu/roformer_chinese_char_small': (
        'https://huggingface.co/junnyu/roformer_chinese_char_small/resolve/main/config.json'
    ),
    'junnyu/roformer_chinese_char_base': (
        'https://huggingface.co/junnyu/roformer_chinese_char_base/resolve/main/config.json'
    ),
    'junnyu/roformer_small_discriminator': (
        'https://huggingface.co/junnyu/roformer_small_discriminator/resolve/main/config.json'
    ),
    'junnyu/roformer_small_generator': (
        'https://huggingface.co/junnyu/roformer_small_generator/resolve/main/config.json'
    ),
    # See all RoFormer models at https://huggingface.co/models?filter=roformer
}


class        UpperCamelCase_					(				UpperCamelCase_  ):

    '''simple docstring'''






    UpperCAmelCase__													=   '''roformer'''


    def __init__(    self   :			Dict      ,				UpperCAmelCase__   :			List[str]=50_000      ,				UpperCAmelCase__   :			Optional[int]=None      ,				UpperCAmelCase__   :			int=768      ,				UpperCAmelCase__   :			Tuple=12      ,				UpperCAmelCase__   :			Optional[int]=12      ,				UpperCAmelCase__   :			Optional[Any]=3_072      ,				UpperCAmelCase__   :			List[str]="gelu"      ,				UpperCAmelCase__   :			List[Any]=0.1      ,				UpperCAmelCase__   :			Any=0.1      ,				UpperCAmelCase__   :			Dict=1_536      ,				UpperCAmelCase__   :			List[Any]=2      ,				UpperCAmelCase__   :			List[str]=0.02      ,				UpperCAmelCase__   :			int=1e-12      ,				UpperCAmelCase__   :			List[str]=0      ,				UpperCAmelCase__   :			Tuple=False      ,				UpperCAmelCase__   :			Optional[Any]=True      ,				**UpperCAmelCase__   :			Dict      ,				)		->Any:





           '''simple docstring'''

           super().__init__(pad_token_id=UpperCamelCase__      ,				**UpperCamelCase__)

           A__   				=					vocab_size
           A__   				=					hidden_size if embedding_size is None else embedding_size
           A__   				=					hidden_size
           A__   				=					num_hidden_layers
           A__   				=					num_attention_heads
           A__   				=					hidden_act
           A__   				=					intermediate_size
           A__   				=					hidden_dropout_prob
           A__   				=					attention_probs_dropout_prob
           A__   				=					max_position_embeddings
           A__   				=					type_vocab_size
           A__   				=					initializer_range
           A__   				=					layer_norm_eps
           A__   				=					rotary_value
           A__   				=					use_cache


class        UpperCamelCase_					(				UpperCamelCase_  ):

    '''simple docstring'''






    @property
    def  SCREAMING_SNAKE_CASE							(    self   :			Optional[Any])		->int:





           '''simple docstring'''

           if self.task == "multiple-choice":
                  A__   				=					{0: '''batch''', 1: '''choice''', 2: '''sequence'''}
           else:
                  A__   				=					{0: '''batch''', 1: '''sequence'''}
           A__   				=					{0: '''batch''', 1: '''sequence'''}
           return OrderedDict(
               [
                   ('''input_ids''', dynamic_axis),
                   ('''attention_mask''', dynamic_axis),
                   ('''token_type_ids''', dynamic_axis),
               ])








def SCREAMING_SNAKE_CASE       ( lowercase_		)     -> int:



       """simple docstring"""

       A__   				=					1
       for i in range(1				,       num + 1		):
              fact *= i
       return fact







def SCREAMING_SNAKE_CASE       ( lowercase_		)     -> int:



       """simple docstring"""

       A__   				=					0
       while number > 0:
              A__   				=					number % 10
              sum_of_digits += last_digit
              A__   				=					number // 10  # Removing the last_digit from the given number
       return sum_of_digits







def SCREAMING_SNAKE_CASE       ( lowercase_ = 100		)     -> int:



       """simple docstring"""

       A__   				=					factorial(lowercase_		)
       A__   				=					split_and_add(lowercase_		)
       return result


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


