



import math


def A    (							__UpperCamelCase       )    ->   bool:

			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(__UpperCamelCase       ) + 1       )			,						6       ):
						if number % i == 0 or number % (i + 2) == 0:
									return False
			return True


def A    (							__UpperCamelCase = 10_001       )    ->   int:

			try:
						A__	  =     int(__UpperCamelCase       )
			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__	  =     []
			A__	  =     2
			while len(__UpperCamelCase       ) < nth:
						if is_prime(__UpperCamelCase       ):
									primes.append(__UpperCamelCase       )
									num += 1
						else:
									num += 1
			return primes[len(__UpperCamelCase       ) - 1]


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









SCREAMING_SNAKE_CASE__   			=   '''
# Transformers installation
! pip install transformers datasets
# To install from source instead of the last release, comment the command above and uncomment the following one.
# ! pip install git+https://github.com/huggingface/transformers.git
'''

SCREAMING_SNAKE_CASE__   			=   [{'''type''': '''code''', '''content''': INSTALL_CONTENT}]
SCREAMING_SNAKE_CASE__   			=   {
    '''{processor_class}''': '''FakeProcessorClass''',
    '''{model_class}''': '''FakeModelClass''',
    '''{object_class}''': '''FakeObjectClass''',
}




