





'''simple docstring'''







import logging

from transformers import PretrainedConfig


lowerCAmelCase_   :       Any       =     logging.getLogger(__name__)


lowerCAmelCase_   :       Tuple       =     {
    """bertabs-finetuned-cnndm""": """https://huggingface.co/remi/bertabs-finetuned-cnndm-extractive-abstractive-summarization/resolve/main/config.json""",
}
class 							__SCREAMING_SNAKE_CASE    (__snake_case ):






				"""simple docstring"""







				__a  ='bertabs'




				def __init__(    self	:   List[str]   ,							__a	:   Dict=3_05_22   ,							__a	:   str=5_12   ,							__a	:   List[str]=6   ,							__a	:   List[Any]=5_12   ,							__a	:   Union[str, Any]=8   ,							__a	:   Optional[Any]=5_12   ,							__a	:   Optional[int]=0.2   ,							__a	:   Optional[int]=6   ,							__a	:   Optional[int]=7_68   ,							__a	:   int=8   ,							__a	:   Optional[int]=20_48   ,							__a	:   Union[str, Any]=0.2   ,							**__a	:   Dict   ,							):
								super().__init__(**A_   )

								_a				      =					vocab_size
								_a				      =					max_pos

								_a				      =					enc_layers
								_a				      =					enc_hidden_size
								_a				      =					enc_heads
								_a				      =					enc_ff_size
								_a				      =					enc_dropout

								_a				      =					dec_layers
								_a				      =					dec_hidden_size
								_a				      =					dec_heads
								_a				      =					dec_ff_size
								_a				      =					dec_dropout







def 						A_							(	_lowerCAmelCase	)		->					bool:
 return str(_lowerCAmelCase	) == str(_lowerCAmelCase	)[::-1]



def 						A_							(	_lowerCAmelCase	)		->					int:
 return int(_lowerCAmelCase	) + int(str(_lowerCAmelCase	)[::-1]	)



def 						A_							(	_lowerCAmelCase = 1_0000	)		->					int:
 UpperCamelCase      :   List[Any]			      =  []
 for num in range(1				,  _lowerCAmelCase	):
  UpperCamelCase      :   Union[str, Any]			      =  0
  UpperCamelCase      :   List[str]			      =  num
  while iterations < 50:
   UpperCamelCase      :   int			      =  sum_reverse(_lowerCAmelCase	)
   iterations += 1
   if is_palindrome(_lowerCAmelCase	):
    break
  else:
   lychrel_nums.append(_lowerCAmelCase	)
 return len(_lowerCAmelCase	)


if __name__ == "__main__":
    print(f"""{solution() = }""")
