


import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script






@require_cpu
class       _UpperCamelCase    (					unittest.TestCase				):

				"""simple docstring"""







				def      _UpperCAmelCase					(						self   )	->				Tuple:
					debug_launcher(test_script.main   )

				def      _UpperCAmelCase					(						self   )	->				int:
					debug_launcher(test_ops.main   )







def   _lowerCAmelCase				(   UpperCamelCase__:     int						) ->   list[int]:





	"""simple docstring"""







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

	A								=				[True] * (num + 1)

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

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


if __name__ == "__main__":
				import doctest

				doctest.testmod()

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



