





"""simple docstring"""





def 						lowerCAmelCase_      (    lowercase_  :				int						):

 '''simple docstring'''






 return str(lowercase_						) == str(lowercase_						)[::-1]




def 						lowerCAmelCase_      (    lowercase_  :				int						):

 '''simple docstring'''






 return int(lowercase_						) + int(str(lowercase_						)[::-1]						)




def 						lowerCAmelCase_      (    lowercase_  :				int = 1_0000						):

 '''simple docstring'''






 __SCREAMING_SNAKE_CASE					:     int   				=			[]
 for num in range(1					, lowercase_						):
  __SCREAMING_SNAKE_CASE					:     Any   				=			0
  __SCREAMING_SNAKE_CASE					:     List[str]   				=			num
  while iterations < 50:
   __SCREAMING_SNAKE_CASE					:     Optional[Any]   				=			sum_reverse(lowercase_						)
   iterations += 1
   if is_palindrome(lowercase_						):
    break
  else:
   lychrel_nums.append(lowercase_						)
 return len(lowercase_						)


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						:  Optional[int]							       =				{
    "configuration_vision_text_dual_encoder": ["VisionTextDualEncoderConfig"],
    "processing_vision_text_dual_encoder": ["VisionTextDualEncoderProcessor"],
}


try:
     if not is_torch_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     _UpperCamelCase						:  Dict							       =				["VisionTextDualEncoderModel"]


try:
     if not is_flax_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     _UpperCamelCase						:  int							       =				["FlaxVisionTextDualEncoderModel"]

try:
     if not is_tf_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     _UpperCamelCase						:  Tuple							       =				["TFVisionTextDualEncoderModel"]


if TYPE_CHECKING:
     from .configuration_vision_text_dual_encoder import VisionTextDualEncoderConfig
     from .processing_vision_text_dual_encoder import VisionTextDualEncoderProcessor

     try:
          if not is_torch_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_vision_text_dual_encoder import VisionTextDualEncoderModel

     try:
          if not is_flax_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_flax_vision_text_dual_encoder import FlaxVisionTextDualEncoderModel

     try:
          if not is_tf_available():
               raise OptionalDependencyNotAvailable()
     except OptionalDependencyNotAvailable:
          pass
     else:
          from .modeling_tf_vision_text_dual_encoder import TFVisionTextDualEncoderModel


else:
     import sys

     _UpperCamelCase						:  Optional[int]							       =				_LazyModule(__name__, globals()["__file__"], _import_structure)





