





def 					_SCREAMING_SNAKE_CASE							(  a    ) -> Tuple:
					return str(_UpperCAmelCase    ) == str(_UpperCAmelCase    )[::-1]







def 					_SCREAMING_SNAKE_CASE							(  a    ) -> List[str]:
					return int(_UpperCAmelCase    ) + int(str(_UpperCAmelCase    )[::-1]    )







def 					_SCREAMING_SNAKE_CASE							(  a = 1_00_00    ) -> int:
					__A      :		Optional[Any]         =							[]
					for num in range(1   ,		_UpperCAmelCase    ):
										__A      :		Optional[Any]         =							0
										__A      :		Dict         =							num
										while iterations < 50:
															__A      :		Tuple         =							sum_reverse(_UpperCAmelCase    )
															iterations += 1
															if is_palindrome(_UpperCAmelCase    ):
																				break
										else:
															lychrel_nums.append(_UpperCAmelCase    )
					return len(_UpperCAmelCase    )


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











"""simple docstring"""
from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_sentencepiece_available,
    is_tokenizers_available,
    is_torch_available,
    is_vision_available,
)


__UpperCamelCase     :						Dict						       =  {'''processing_layoutxlm''': ['''LayoutXLMProcessor''']}

try:
       if not is_sentencepiece_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __UpperCamelCase     :						int						       =  ['''LayoutXLMTokenizer''']

try:
       if not is_tokenizers_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       __UpperCamelCase     :						Any						       =  ['''LayoutXLMTokenizerFast''']

if TYPE_CHECKING:
       from .processing_layoutxlm import LayoutXLMProcessor

       try:
              if not is_sentencepiece_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .tokenization_layoutxlm import LayoutXLMTokenizer

       try:
              if not is_tokenizers_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .tokenization_layoutxlm_fast import LayoutXLMTokenizerFast

else:
       import sys

       __UpperCamelCase     :						Dict						       =  _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)





