import warnings

from ...utils import logging
from .image_processing_flava import FlavaImageProcessor


__SCREAMING_SNAKE_CASE						:   str         =			logging.get_logger(__name__)



class        lowercase_   (					__snake_case		):



							def __init__(						self				,    *lowercase_				,    **lowercase_    ):
													warnings.warn(
													    "The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
													    " use FlavaImageProcessor instead."				,    lowercase_				,    )
													super().__init__(*lowercase_				,    **lowercase_    )
def  snake_case						(__lowercase						)	->	list[int]:

						'''simple docstring'''



						if num <= 0:
												raise ValueError("Input must be a positive integer"						)

						_snake_case						:					Any    =   [True] * (num + 1)

						_snake_case						:					str    =   2
						while p * p <= num:
												if primes[p]:
																		for i in range(p * p ,      num + 1 ,      __lowercase						):
																								_snake_case						:					Optional[int]    =   False
												p += 1

						return [prime for prime in range(2 ,      num + 1						) if primes[prime]]


if __name__ == "__main__":
				import doctest

				doctest.testmod()

				__SCREAMING_SNAKE_CASE						:   Any         =			int(input('Enter a positive integer: ').strip())
				print(prime_sieve_eratosthenes(user_num))