'''simple docstring'''

def       __lowercase  (_SCREAMING_SNAKE_CASE      :int       ):
				return str(lowercase_       ) == str(lowercase_       )[::-1]






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






def       __lowercase  (_SCREAMING_SNAKE_CASE      :int = 1_00_00       ):
				SCREAMING_SNAKE_CASE  :						List[str]      					= []
				for num in range(1    ,	lowercase_       ):
								SCREAMING_SNAKE_CASE  :						Dict      					= 0
								SCREAMING_SNAKE_CASE  :						List[Any]      					= 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 ...utils import is_torch_available, is_transformers_available


if is_transformers_available() and is_torch_available():
	from .pipeline_vq_diffusion import LearnedClassifierFreeSamplingEmbeddings, VQDiffusionPipeline




