




def       UpperCAmelCase_       (      __UpperCamelCase      ):
    return str(__snake_case      ) == str(__snake_case      )[::-1]



def       UpperCAmelCase_       (      __UpperCamelCase      ):
    return int(__snake_case      ) + int(str(__snake_case      )[::-1]      )



def       UpperCAmelCase_       (      __UpperCamelCase = 10_000      ):
    SCREAMING_SNAKE_CASE__        =[]
    for num in range(1,							__snake_case      ):
        SCREAMING_SNAKE_CASE__        =0
        SCREAMING_SNAKE_CASE__        =num
        while iterations < 50:
            SCREAMING_SNAKE_CASE__        =sum_reverse(__snake_case      )
            iterations += 1
            if is_palindrome(__snake_case      ):
                break
        else:
            lychrel_nums.append(__snake_case      )
    return len(__snake_case      )


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










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

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_torch_available,
)


UpperCAmelCase				=						{
    """configuration_vision_encoder_decoder""": ["""VisionEncoderDecoderConfig""", """VisionEncoderDecoderOnnxConfig"""]
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 UpperCAmelCase				=						["""VisionEncoderDecoderModel"""]

try:
 if not is_tf_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 UpperCAmelCase				=						["""TFVisionEncoderDecoderModel"""]

try:
 if not is_flax_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 UpperCAmelCase				=						["""FlaxVisionEncoderDecoderModel"""]

if TYPE_CHECKING:
 from .configuration_vision_encoder_decoder import VisionEncoderDecoderConfig, VisionEncoderDecoderOnnxConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_vision_encoder_decoder import VisionEncoderDecoderModel

 try:
  if not is_tf_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_tf_vision_encoder_decoder import TFVisionEncoderDecoderModel

 try:
  if not is_flax_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_flax_vision_encoder_decoder import FlaxVisionEncoderDecoderModel

else:
 import sys

 UpperCAmelCase				=						_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)

