






from collections import OrderedDict
from typing import Mapping

from packaging import version

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


lowerCamelCase     :							Union[str, Any]    =logging.get_logger(__name__)

lowerCamelCase     :							Optional[int]    ={
    'microsoft/beit-base-patch16-224-pt22k': (
        'https://huggingface.co/microsoft/beit-base-patch16-224-pt22k/resolve/main/config.json'
    ),
    # See all BEiT models at https://huggingface.co/models?filter=beit
}





class       __a  (   lowerCamelCase__	):
 _lowerCAmelCase	:	Dict				=			'''beit'''







 def __init__(		self :       Optional[Any]							,       SCREAMING_SNAKE_CASE :       Optional[Any]=81_92							,       SCREAMING_SNAKE_CASE :       int=7_68							,       SCREAMING_SNAKE_CASE :       Tuple=12							,       SCREAMING_SNAKE_CASE :       Any=12							,       SCREAMING_SNAKE_CASE :       Tuple=30_72							,       SCREAMING_SNAKE_CASE :       Dict="gelu"							,       SCREAMING_SNAKE_CASE :       Tuple=0.0							,       SCREAMING_SNAKE_CASE :       Optional[Any]=0.0							,       SCREAMING_SNAKE_CASE :       str=0.0_2							,       SCREAMING_SNAKE_CASE :       List[str]=1e-1_2							,       SCREAMING_SNAKE_CASE :       List[Any]=2_24							,       SCREAMING_SNAKE_CASE :       str=16							,       SCREAMING_SNAKE_CASE :       Optional[int]=3							,       SCREAMING_SNAKE_CASE :       List[str]=False							,       SCREAMING_SNAKE_CASE :       List[str]=False							,       SCREAMING_SNAKE_CASE :       int=False							,       SCREAMING_SNAKE_CASE :       str=False							,       SCREAMING_SNAKE_CASE :       Dict=0.1							,       SCREAMING_SNAKE_CASE :       Union[str, Any]=0.1							,       SCREAMING_SNAKE_CASE :       List[str]=True							,       SCREAMING_SNAKE_CASE :       Union[str, Any]=[3, 5, 7, 11]							,       SCREAMING_SNAKE_CASE :       Optional[Any]=[1, 2, 3, 6]							,       SCREAMING_SNAKE_CASE :       int=True							,       SCREAMING_SNAKE_CASE :       Dict=0.4							,       SCREAMING_SNAKE_CASE :       List[Any]=2_56							,       SCREAMING_SNAKE_CASE :       List[Any]=1							,       SCREAMING_SNAKE_CASE :       Any=False							,       SCREAMING_SNAKE_CASE :       Dict=2_55							,       **SCREAMING_SNAKE_CASE :       Dict							,       ):


      '''simple docstring'''






      super().__init__(**__lowerCamelCase						)

      UpperCamelCase__      :       Optional[Any]	    =  vocab_size
      UpperCamelCase__      :       int	    =  hidden_size
      UpperCamelCase__      :       List[str]	    =  num_hidden_layers
      UpperCamelCase__      :       Tuple	    =  num_attention_heads
      UpperCamelCase__      :       List[Any]	    =  intermediate_size
      UpperCamelCase__      :       List[Any]	    =  hidden_act
      UpperCamelCase__      :       List[str]	    =  hidden_dropout_prob
      UpperCamelCase__      :       Union[str, Any]	    =  attention_probs_dropout_prob
      UpperCamelCase__      :       Any	    =  initializer_range
      UpperCamelCase__      :       Any	    =  layer_norm_eps

      UpperCamelCase__      :       Dict	    =  image_size
      UpperCamelCase__      :       Optional[int]	    =  patch_size
      UpperCamelCase__      :       Optional[Any]	    =  num_channels
      UpperCamelCase__      :       str	    =  use_mask_token
      UpperCamelCase__      :       str	    =  use_absolute_position_embeddings
      UpperCamelCase__      :       str	    =  use_relative_position_bias
      UpperCamelCase__      :       Union[str, Any]	    =  use_shared_relative_position_bias
      UpperCamelCase__      :       List[str]	    =  layer_scale_init_value
      UpperCamelCase__      :       List[Any]	    =  drop_path_rate
      UpperCamelCase__      :       Union[str, Any]	    =  use_mean_pooling
      # decode head attributes (semantic segmentation)
      UpperCamelCase__      :       Optional[Any]	    =  out_indices
      UpperCamelCase__      :       Optional[Any]	    =  pool_scales
      # auxiliary head attributes (semantic segmentation)
      UpperCamelCase__      :       Union[str, Any]	    =  use_auxiliary_head
      UpperCamelCase__      :       Dict	    =  auxiliary_loss_weight
      UpperCamelCase__      :       Optional[int]	    =  auxiliary_channels
      UpperCamelCase__      :       List[str]	    =  auxiliary_num_convs
      UpperCamelCase__      :       List[str]	    =  auxiliary_concat_input
      UpperCamelCase__      :       Dict	    =  semantic_loss_ignore_index







class       __a  (   lowerCamelCase__	):
 _lowerCAmelCase	:	Any				=			version.parse('''1.11'''	)







 @property
 def  __lowercase (		self :       str						):


      '''simple docstring'''






      return OrderedDict(
          [
              ("pixel_values", {0: "batch", 1: "num_channels", 2: "height", 3: "width"}),
          ]						)







 @property
 def  __lowercase (		self :       Dict						):


      '''simple docstring'''






      return 1e-4







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase      )			->     int:
     UpperCamelCase__      :       int	    =  1
     for i in range(1 ,   num + 1      ):
          fact *= i
     return fact







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase      )			->     int:
     UpperCamelCase__      :       List[Any]	    =  0
     while number > 0:
          UpperCamelCase__      :       List[Any]	    =  number % 10
          sum_of_digits += last_digit
          UpperCamelCase__      :       int	    =  number // 10  # Removing the last_digit from the given number
     return sum_of_digits







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase = 100      )			->     int:
     UpperCamelCase__      :       Optional[Any]	    =  factorial(__lowerCAmelCase      )
     UpperCamelCase__      :       Optional[int]	    =  split_and_add(__lowerCAmelCase      )
     return result


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