"""simple docstring"""




from statistics import mean, stdev
def  snake_case						(__lowercase ,      __lowercase = 3						)	->	list:

						'''simple docstring'''



						_snake_case						:					Optional[Any]    =   min(__lowercase						)
						_snake_case						:					List[Any]    =   max(__lowercase						)
						# normalize data
						return [round((x - x_min) / (x_max - x_min) ,      __lowercase						) for x in data]

def  snake_case						(__lowercase ,      __lowercase = 3						)	->	list:

						'''simple docstring'''



						_snake_case						:					Optional[Any]    =   mean(__lowercase						)
						_snake_case						:					Optional[Any]    =   stdev(__lowercase						)
						# standardize data
						return [round((x - mu) / (sigma) ,      __lowercase						) for x in data]
def  snake_case						(__lowercase						)	->	list[int]:

						'''simple docstring'''



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

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

						_snake_case						:					str    =   2
						while p * p <= num:
												if primes[p]:
																		for i in range(p * p ,      num + 1 ,      __lowercase						):
																								_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()

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