


from math import asin, atan, cos, radians, sin, sqrt, tan

snake_case							:	Optional[Any]					      =				6378137.0
snake_case							:	str					      =				6356752.314245
snake_case							:	int					      =				6_37_81_37






def 							__lowercase       (			__lowerCAmelCase							:    float ,   __lowerCAmelCase							:    float ,   __lowerCAmelCase							:    float ,   __lowerCAmelCase							:    float       ):
							a__					=					(AXIS_A - AXIS_B) / AXIS_A
							a__					=					atan((1 - flattening) * tan(radians(__lowerCAmelCase       )       )       )
							a__					=					atan((1 - flattening) * tan(radians(__lowerCAmelCase       )       )       )
							a__					=					radians(__lowerCAmelCase       )
							a__					=					radians(__lowerCAmelCase       )
							# Equation
							a__					=					sin((phi_a - phi_a) / 2       )
							a__					=					sin((lambda_a - lambda_a) / 2       )
							# Square both values
							sin_sq_phi *= sin_sq_phi
							sin_sq_lambda *= sin_sq_lambda
							a__					=					sqrt(sin_sq_phi + (cos(__lowerCAmelCase       ) * cos(__lowerCAmelCase       ) * sin_sq_lambda)       )
							return 2 * RADIUS * asin(__lowerCAmelCase       )


if __name__ == "__main__":
						import doctest

						doctest.testmod()








def 							__lowercase       (			__lowerCAmelCase							:    int       ):

							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 ,   __lowerCAmelCase       ):
																												a__					=					False
														p += 1

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


if __name__ == "__main__":
						import doctest

						doctest.testmod()

						snake_case							:	Optional[Any]					      =				int(input('''Enter a positive integer: ''').strip())
						print(prime_sieve_eratosthenes(user_num))




