

def 							__SCREAMING_SNAKE_CASE     (   a__    :   int       )					->				list[int]:

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

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

	__A :			Optional[int]		    =			2
	while p * p <= num:
		if primes[p]:
			for i in range(p * p			,num + 1			,a__       ):
				__A :			Tuple		    =			False
		p += 1

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


if __name__ == "__main__":
			import doctest

			doctest.testmod()

			UpperCAmelCase_							:					str		 =   int(input('''Enter a positive integer: ''').strip())
			print(prime_sieve_eratosthenes(user_num))








def 							__SCREAMING_SNAKE_CASE     (   a__    :   int       )					->				int:
	if not isinstance(a__			,a__       ):
		raise TypeError("""Input value must be an 'int' type"""       )

	__A :			Union[str, Any]		    =			0
	while number:
		position += 1
		number >>= 1

	return position


if __name__ == "__main__":
			import doctest

			doctest.testmod()





