
def        A__					(						lowerCamelCase						)  ->	List[str]:

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

				UpperCamelCase_:							Optional[int]	=						[True] * (num + 1)

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

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


if __name__ == "__main__":
							import doctest

							doctest.testmod()

							lowerCamelCase_						: List[str]         =  int(input("""Enter a positive integer: """).strip())
							print(prime_sieve_eratosthenes(user_num))








import warnings

from ..trainer import Trainer
from ..utils import logging


lowerCamelCase_						: Dict         =  logging.get_logger(__name__)

class        _UpperCamelCase				(					_A  ):






			'''simple docstring'''

			def __init__(       self :       List[str]						,	snake_case_ :       Tuple=None						,	**snake_case_ :       List[str]      ):
							warnings.warn(
							    """`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` """
							    """instead."""						,	snake_case_						,	)
							super().__init__(args=snake_case_						,	**snake_case_      )






