"""simple docstring"""






from __future__ import annotations



def   a_						(					lowerCamelCase       ):
				UpperCAmelCase__             =							str(lowerCamelCase       )
				return len(lowerCamelCase       ) == 9 and set(lowerCamelCase       ) == set('123456789'       )



def   a_						(					):
				for base_num in range(9_9_9_9					,			4_9_9_9					,			-1       ):
								UpperCAmelCase__             =							1_0_0_0_0_2 * base_num
								if is_9_pandigital(lowerCamelCase       ):
												return candidate

				for base_num in range(3_3_3					,			9_9					,			-1       ):
								UpperCAmelCase__             =							1_0_0_2_0_0_3 * base_num
								if is_9_pandigital(lowerCamelCase       ):
												return candidate

				return None


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




"""simple docstring"""






def   a_						(					lowerCamelCase       ):
				return str(lowerCamelCase       ) == str(lowerCamelCase       )[::-1]



def   a_						(					lowerCamelCase       ):
				return int(lowerCamelCase       ) + int(str(lowerCamelCase       )[::-1]       )



def   a_						(					lowerCamelCase = 1_0_0_0_0       ):
				UpperCAmelCase__             =							[]
				for num in range(1					,			lowerCamelCase       ):
								UpperCAmelCase__             =							0
								UpperCAmelCase__             =							num
								while iterations < 5_0:
												UpperCAmelCase__             =							sum_reverse(lowerCamelCase       )
												iterations += 1
												if is_palindrome(lowerCamelCase       ):
																break
								else:
												lychrel_nums.append(lowerCamelCase       )
				return len(lowerCamelCase       )


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



