


from math import sqrt


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(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 = 1_0_0_0_1       ):






       """simple docstring"""





       UpperCamelCase    :	Optional[Any]   	=		0
       UpperCamelCase    :	str   	=		1
       while count != nth and number < 3:
              number += 1
              if is_prime(SCREAMING_SNAKE_CASE_       ):
                     count += 1
       while count != nth:
              number += 2
              if is_prime(SCREAMING_SNAKE_CASE_       ):
                     count += 1
       return number


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





from .imports import is_tqdm_available


if is_tqdm_available():
  from tqdm.auto import tqdm as _tqdm

from ..state import PartialState


def      a	(							SCREAMING_SNAKE_CASE_      :		bool = True							,			*SCREAMING_SNAKE_CASE_      :		List[str]							,			**SCREAMING_SNAKE_CASE_      :		Tuple       ):






       """simple docstring"""





       if not is_tqdm_available():
              raise ImportError('''Accelerate\'s `tqdm` module requires `tqdm` to be installed. Please run `pip install tqdm`.'''       )
       UpperCamelCase    :	int   	=		False
       if main_process_only:
              UpperCamelCase    :	int   	=		PartialState().local_process_index == 0
       return _tqdm(*SCREAMING_SNAKE_CASE_							,			**SCREAMING_SNAKE_CASE_							,			disable=SCREAMING_SNAKE_CASE_       )

