a_					      = 10**8





def      __lowercase  (		lowerCamelCase      :  int			):
 if n % 10 == 0:
  return False
 UpperCamelCase_      :		Optional[int]				=      str(lowerCamelCase			)
 return s == s[::-1]





def      __lowercase  (		):
 UpperCamelCase_      :		List[Any]				=      set()
 UpperCamelCase_      :		Any				=      1
 UpperCamelCase_      :		Any				=      5
 while sum_squares < LIMIT:
  UpperCamelCase_      :		Union[str, Any]				=      first_square + 1
  while sum_squares < LIMIT:
   if is_palindrome(lowerCamelCase			):
    answer.add(lowerCamelCase			)
   last_square += 1
   sum_squares += last_square**2
  first_square += 1
  UpperCamelCase_      :		Tuple				=      first_square**2 + (first_square + 1) ** 2

 return sum(lowerCamelCase			)


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




from datetime import date

import requests

a_					      = 'https://api.carbonintensity.org.uk/intensity'





def      __lowercase  (		):
 UpperCamelCase_      :		Dict				=      requests.get(lowerCamelCase			).json()['data'][0]
 return last_half_hour["intensity"]["actual"]





def      __lowercase  (		lowerCamelCase      :  Union[str, Any]						,						lowerCamelCase      :  Union[str, Any]			):
 return requests.get(F"{BASE_URL}/{start}/{end}"			).json()["data"]


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



