'''simple docstring'''





import itertools
import math





def 	lowerCAmelCase_				(					snake_case_       : int			)    ->      bool:


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





def 	lowerCAmelCase_				(					)    ->      Optional[int]:


     '''simple docstring'''




     UpperCAmelCase_           =   2
     while True:
          if is_prime(snake_case_			):
               yield num
          num += 1





def 	lowerCAmelCase_				(					snake_case_       : int = 1_00_01			)    ->      int:


     '''simple docstring'''




     return next(itertools.islice(prime_generator()					,    nth - 1					,    snake_case_			)			)


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





'''simple docstring'''





import warnings

from ...utils import logging
from .image_processing_clip import CLIPImageProcessor


SCREAMING_SNAKE_CASE_:     Union[str, Any]  =logging.get_logger(__name__)




class        __A      ( UpperCamelCase__	):



    def __init__(self    :    int   ,			*__a    :    Dict   ,			**__a    :    str ):
         warnings.warn(
             "The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
             " use CLIPImageProcessor instead."   ,			__a   ,			)
         super().__init__(*__a   ,			**__a )




