



"""simple docstring"""


def 					_lowerCAmelCase (  lowercase_ = 10**6		):

						if n <= 0:
												raise ValueError('Please enter an integer greater than 0'		)

						UpperCAmelCase			 =					list(range(n + 1		)		)
						for number in range(2						,      n + 1		):
												if phi[number] == number:
																		phi[number] -= 1
																		for multiple in range(number * 2						,      n + 1						,      lowercase_		):
																								UpperCAmelCase			 =					(phi[multiple] // number) * (number - 1)

						UpperCAmelCase			 =					1
						for number in range(1						,      n + 1		):
												if (answer / phi[answer]) < (number / phi[number]):
																		UpperCAmelCase			 =					number

						return answer


if __name__ == "__main__":
				print(solution())













from datetime import date

import requests

a 			=							'https://api.carbonintensity.org.uk/intensity'
def    a__    (	):
   lowercase__    :						Union[str, Any]       =			requests.get(A       ).json()["""data"""][0]
   return last_half_hour["intensity"]["actual"]
def    a__    (	A		,					A       ):
   return requests.get(F'''{BASE_URL}/{start}/{end}'''       ).json()["data"]


if __name__ == "__main__":
 for entry in fetch_from_to(start=date(2020, 10, 1), end=date(2020, 10, 3)):
  print('from {from} to {to}: {intensity[actual]}'.format(**entry))
 print(F'{fetch_last_half_hour() = }')


