"""simple docstring"""





from math import sqrt





def 							a_	( _lowerCAmelCase    :					Tuple	):





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





def 							a_	( _lowerCAmelCase    :					Dict = 1_0001	):





       '''simple docstring'''

       lowercase__     :						Optional[Any]         =      0
       lowercase__     :						Dict         =      1
       while count != nth and number < 3:
              number += 1
              if is_prime(UpperCAmelCase_	):
                     count += 1
       while count != nth:
              number += 2
              if is_prime(UpperCAmelCase_	):
                     count += 1
       return number


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








'''simple docstring'''




import enum
import shutil
import sys


a__      ,       a__					:			Any          =     shutil.get_terminal_size()

a__					:			Optional[int]          =     {'''UP''': '''A''', '''DOWN''': '''B''', '''RIGHT''': '''C''', '''LEFT''': '''D'''}






class 				__snake_case     (					enum.Enum							):
	__lowerCAmelCase       						=  0
	__lowerCAmelCase       						=  1





def 						__lowerCamelCase			(	UpperCAmelCase_					,				UpperCAmelCase_=""							)   ->Optional[Any]:
	sys.stdout.write(str(UpperCAmelCase_							) + end							)
	sys.stdout.flush()




def 						__lowerCamelCase			(	UpperCAmelCase_					,				UpperCAmelCase_					,				UpperCAmelCase_=""							)   ->List[str]:
	forceWrite(f'''\u001b[{color}m{content}\u001b[0m'''					,				UpperCAmelCase_							)




def 						__lowerCamelCase			(	)   ->Optional[Any]:
	forceWrite('\r'							)




def 						__lowerCamelCase			(	UpperCAmelCase_					,				UpperCAmelCase_							)   ->Any:
	forceWrite(f'''\033[{num_lines}{CURSOR_TO_CHAR[direction.upper()]}'''							)




def 						__lowerCamelCase			(	)   ->str:
	forceWrite(' ' * TERMINAL_WIDTH							)
	reset_cursor()







def 						__lowerCamelCase			(	)   ->Tuple:
	reset_cursor()
	forceWrite('-' * TERMINAL_WIDTH							)



