'''simple docstring'''





from __future__ import annotations

import math





def 	lowerCAmelCase_				(					snake_case_       : int			)    ->      list[int]:


     '''simple docstring'''




     if num <= 0:
          UpperCAmelCase_           =   f"""{num}: Invalid input, please enter a positive integer."""
          raise ValueError(snake_case_			)

     UpperCAmelCase_           =   [True] * (num + 1)
     UpperCAmelCase_           =   []
     UpperCAmelCase_           =   2
     UpperCAmelCase_           =   int(math.sqrt(snake_case_			)			)

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

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

          start += 1

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

     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_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 )




