from math import sqrt



def      __SCREAMING_SNAKE_CASE  ( __UpperCamelCase   :	int     )							-> List[Any]:







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



def      __SCREAMING_SNAKE_CASE  ( __UpperCamelCase   :	int = 1_00_01     )							-> str:







  """simple docstring"""





  SCREAMING_SNAKE_CASE__      							=				0
  SCREAMING_SNAKE_CASE__      							=				1
  while count != nth and number < 3:
    number += 1
    if is_prime(lowerCAmelCase__     ):
      count += 1
  while count != nth:
    number += 2
    if is_prime(lowerCAmelCase__     ):
      count += 1
  return number


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







import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


__lowerCamelCase      :			str							       =		logging.get_logger(__name__)







class __snake_case    (						lowerCamelCase_		):




   def __init__(   self      :    List[str]	,     *_lowercase      :    Union[str, Any]	,     **_lowercase      :    Union[str, Any]				):



     """simple docstring"""






     warnings.warn(
         """The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
         """ use DonutImageProcessor instead."""	,     _lowercase	,     )
     super().__init__(*_lowercase	,     **_lowercase				)
