






"""simple docstring"""


from __future__ import annotations

import math



def 					lowerCAmelCase				(    __UpperCamelCase ):




  """simple docstring"""







  if num <= 0:
    __A									= f'{num}: Invalid input, please enter a positive integer.'
    raise ValueError(__UpperCamelCase )

  __A									= [True] * (num + 1)
  __A									= []
  __A									= 2
  __A									= int(math.sqrt(__UpperCamelCase ) )

  while start <= end:
    # If start is a prime
    if sieve[start] is True:
      prime.append(__UpperCamelCase )

      # Set multiples of start be False
      for i in range(start * start		,       num + 1		,       __UpperCamelCase ):
        if sieve[i] is True:
          __A									= False

    start += 1

  for j in range(end + 1		,       num + 1 ):
    if sieve[j] is True:
      prime.append(__UpperCamelCase )

  return prime


if __name__ == "__main__":
       print(prime_sieve(int(input('Enter a positive integer: ').strip())))












"""simple docstring"""


import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


lowercase_				     =     logging.get_logger(__name__)


class 					snake_case		(							_lowerCAmelCase						):


   '''simple docstring'''

   def __init__(	self :     Optional[int],       *_lowerCamelCase :     Union[str, Any],       **_lowerCamelCase :     Dict  ):

     '''simple docstring'''
     warnings.warn(
         '''The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
         ''' Please use SegformerImageProcessor instead.''',       _lowerCamelCase,       )
     super().__init__(*_lowerCamelCase,       **_lowerCamelCase  )




