





'''simple docstring'''




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


lowercase__    :      str						=    logging.get_logger(__name__)

lowercase__    :      Tuple						=    {"ctrl": "https://huggingface.co/ctrl/resolve/main/config.json"}


class  SCREAMING_SNAKE_CASE    (a__							):
     lowerCAmelCase					=       '''ctrl'''
     lowerCAmelCase					=       ['''past_key_values''']
     lowerCAmelCase					=       {
         '''max_position_embeddings''': '''n_positions''',
         '''hidden_size''': '''n_embd''',
         '''num_attention_heads''': '''n_head''',
         '''num_hidden_layers''': '''n_layer''',
     }


     def __init__(						self						,	_UpperCAmelCase=24_6534						,	_UpperCAmelCase=256						,	_UpperCAmelCase=1280						,	_UpperCAmelCase=8192						,	_UpperCAmelCase=48						,	_UpperCAmelCase=16						,	_UpperCAmelCase=0.1						,	_UpperCAmelCase=0.1						,	_UpperCAmelCase=1e-6						,	_UpperCAmelCase=0.02						,	_UpperCAmelCase=True						,	**_UpperCAmelCase						,	):

          '''simple docstring'''






          __A						: Optional[int]      =       vocab_size
          __A						: Any      =       n_positions
          __A						: List[str]      =       n_embd
          __A						: Any      =       n_layer
          __A						: Optional[int]      =       n_head
          __A						: Optional[Any]      =       dff
          __A						: Any      =       resid_pdrop
          __A						: Optional[int]      =       embd_pdrop
          __A						: Optional[Any]      =       layer_norm_epsilon
          __A						: Dict      =       initializer_range

          __A						: Optional[Any]      =       use_cache

          super().__init__(**A_)





def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       int = 10_00     ):


      '''simple docstring'''



      lowerCamelCase_		     =    2**power
      lowerCamelCase_		     =    0
      while n:
            lowerCamelCase_     ,				lowerCamelCase_		     =    r + n % 10, n // 10
      return r


if __name__ == "__main__":
 print(solution(int(str(input()).strip())))



