



"""simple docstring"""
def 			_SCREAMING_SNAKE_CASE						(__lowerCAmelCase							) ->						list[int]:







		'''simple docstring'''


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

		lowercase_								= [True] * (num + 1)

		lowercase_								= 2
		while p * p <= num:
				if primes[p]:
						for i in range(p * p ,  num + 1 ,  __lowerCAmelCase							):
								lowercase_								= False
				p += 1

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


if __name__ == "__main__":
							import doctest

							doctest.testmod()

							UpperCAmelCase						:		Optional[int]			= int(input("Enter a positive integer: ").strip())
							print(prime_sieve_eratosthenes(user_num))






"""simple docstring"""
from typing import TYPE_CHECKING

from ...utils import _LazyModule


UpperCAmelCase						:		List[Any]			= {"tokenization_bertweet": ["BertweetTokenizer"]}


if TYPE_CHECKING:
       from .tokenization_bertweet import BertweetTokenizer

else:
       import sys

       UpperCAmelCase						:		Tuple			= _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)

