





import math
def      _A       (		SCREAMING_SNAKE_CASE     :   int						):





  """simple docstring"""



  if 1 < number < 4:
    # 2 and 3 are primes
    return True
  elif number < 2 or number % 2 == 0 or number % 3 == 0:
    # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
    return False

  # All primes number are in format of 6k +/- 1
  for i in range(5       ,       int(math.sqrt(SCREAMING_SNAKE_CASE						) + 1						)       ,       6						):
    if number % i == 0 or number % (i + 2) == 0:
      return False
  return True
def      _A       (		SCREAMING_SNAKE_CASE     :   int = 10_001						):





  """simple docstring"""



  try:
    a__	:					Optional[int]										=int(SCREAMING_SNAKE_CASE						)
  except (TypeError, ValueError):
    raise TypeError("Parameter nth must be int or castable to int."						) from None
  if nth <= 0:
    raise ValueError("Parameter nth must be greater than or equal to one."						)
  a__	:					list[int]										=[]
  a__	:					int										=2
  while len(SCREAMING_SNAKE_CASE						) < nth:
    if is_prime(SCREAMING_SNAKE_CASE						):
      primes.append(SCREAMING_SNAKE_CASE						)
      num += 1
    else:
      num += 1
  return primes[len(SCREAMING_SNAKE_CASE						) - 1]


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













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







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







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


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




