


'''simple docstring'''







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


A__:   Any    =	logging.get_logger(__name__)

A__:   Any    =	{
    '''uw-madison/yoso-4096''': '''https://huggingface.co/uw-madison/yoso-4096/resolve/main/config.json''',
    # See all YOSO models at https://huggingface.co/models?filter=yoso
}







class A__	(						UpperCAmelCase__				):
      __UpperCamelCase	:  Any     	=							'yoso'






      def __init__(			self      :str					,						SCREAMING_SNAKE_CASE      :Dict=5_0_2_6_5					,						SCREAMING_SNAKE_CASE      :Any=7_6_8					,						SCREAMING_SNAKE_CASE      :Union[str, Any]=1_2					,						SCREAMING_SNAKE_CASE      :List[Any]=1_2					,						SCREAMING_SNAKE_CASE      :Dict=3_0_7_2					,						SCREAMING_SNAKE_CASE      :Dict="gelu"					,						SCREAMING_SNAKE_CASE      :Dict=0.1					,						SCREAMING_SNAKE_CASE      :Optional[int]=0.1					,						SCREAMING_SNAKE_CASE      :str=4_0_9_6					,						SCREAMING_SNAKE_CASE      :str=1					,						SCREAMING_SNAKE_CASE      :Dict=0.02					,						SCREAMING_SNAKE_CASE      :Optional[int]=1e-12					,						SCREAMING_SNAKE_CASE      :str="absolute"					,						SCREAMING_SNAKE_CASE      :Dict=True					,						SCREAMING_SNAKE_CASE      :List[str]=9					,						SCREAMING_SNAKE_CASE      :Optional[int]=6_4					,						SCREAMING_SNAKE_CASE      :List[Any]=None					,						SCREAMING_SNAKE_CASE      :Dict=True					,						SCREAMING_SNAKE_CASE      :str=True					,						SCREAMING_SNAKE_CASE      :int=1					,						SCREAMING_SNAKE_CASE      :int=0					,						SCREAMING_SNAKE_CASE      :List[str]=2					,						**SCREAMING_SNAKE_CASE      :Optional[Any]					,						)	-> Any:




             '''simple docstring'''
             super().__init__(pad_token_id=SCREAMING_SNAKE_CASE					,						bos_token_id=SCREAMING_SNAKE_CASE					,						eos_token_id=SCREAMING_SNAKE_CASE					,						**SCREAMING_SNAKE_CASE     )

             _a   :			Optional[Any]					 =vocab_size
             _a   :			int					 =max_position_embeddings
             _a   :			Tuple					 =hidden_size
             _a   :			Union[str, Any]					 =num_hidden_layers
             _a   :			List[Any]					 =num_attention_heads
             _a   :			List[str]					 =intermediate_size
             _a   :			List[Any]					 =hidden_act
             _a   :			Optional[Any]					 =hidden_dropout_prob
             _a   :			Optional[int]					 =attention_probs_dropout_prob
             _a   :			int					 =initializer_range
             _a   :			Dict					 =type_vocab_size
             _a   :			Dict					 =layer_norm_eps
             _a   :			int					 =position_embedding_type
             _a   :			Any					 =use_expectation
             _a   :			Optional[int]					 =hash_code_len
             _a   :			Optional[Any]					 =num_hash
             _a   :			List[str]					 =conv_window
             _a   :			int					 =use_fast_hash
             _a   :			Optional[int]					 =lsh_backward






'''simple docstring'''







import math


def      SCREAMING_SNAKE_CASE_ (  _UpperCAmelCase     :     int  )  ->      int:
       return sum(int(_UpperCAmelCase  ) for digit in str(_UpperCAmelCase  )  )


def      SCREAMING_SNAKE_CASE_ (  _UpperCAmelCase     :     int = 30  )  ->      int:
       _a   :			List[Any]					 =[]
       for digit in range(2   ,100  ):
              for power in range(2   ,100  ):
                     _a   :			Optional[Any]					 =int(math.pow(_UpperCAmelCase   ,_UpperCAmelCase  )  )
                     if digit == digit_sum(_UpperCAmelCase  ):
                            digit_to_powers.append(_UpperCAmelCase  )

       digit_to_powers.sort()
       return digit_to_powers[n - 1]


if __name__ == "__main__":
   print(solution())


