



def 	_lowerCAmelCase						(				__lowerCamelCase   :     int     ):



 """simple docstring"""





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

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

 __SCREAMING_SNAKE_CASE       :    Dict       =	2
 while p * p <= num:
  if primes[p]:
   for i in range(p * p		,	num + 1		,	__snake_case     ):
    __SCREAMING_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()

      _lowerCamelCase						    =  int(input("""Enter a positive integer: """).strip())
      print(prime_sieve_eratosthenes(user_num))











from diffusers.utils.testing_utils import require_onnxruntime

@require_onnxruntime
class       _SCREAMING_SNAKE_CASE	:
     pass






