

'''simple docstring'''

def    A_  ( snake_case ):

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

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

  SCREAMING_SNAKE_CASE:Any						      =					2
  while p * p <= num:
    if primes[p]:
      for i in range(p * p      ,       num + 1      ,       snake_case ):
        SCREAMING_SNAKE_CASE:int						      =					False
    p += 1

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


if __name__ == "__main__":
    import doctest

    doctest.testmod()

    A_     :   Union[str, Any]       						=							int(input("Enter a positive integer: ").strip())
    print(prime_sieve_eratosthenes(user_num))









'''simple docstring'''

import warnings
from functools import wraps
from typing import Callable





def    A_  ( snake_case ):

  @wraps(snake_case )
  def _inner_fn(*snake_case      ,       **snake_case ):
    warnings.warn(
        (F'''\'{fn.__name__}\' is experimental and might be subject to breaking changes in the future.''')      ,       snake_case      ,       )
    return fn(*snake_case      ,       **snake_case )

  return _inner_fn






