

'''simple docstring'''







import requests

__lowerCamelCase						    =      ''''''  # <-- Put your OpenWeatherMap appid here!
__lowerCamelCase						    =      '''https://api.openweathermap.org/data/2.5/'''
def  UpperCAmelCase__      ( UpperCAmelCase__ = "Chicago",    UpperCAmelCase__ = APPID			)     ->     dict:
       return requests.get(URL_BASE + """weather""",    params=locals()			).json()
def  UpperCAmelCase__      ( UpperCAmelCase__ = "Kolkata, India",    UpperCAmelCase__ = APPID			)     ->     dict:
       return requests.get(URL_BASE + """forecast""",    params=locals()			).json()
def  UpperCAmelCase__      ( UpperCAmelCase__ = 55.68,    UpperCAmelCase__ = 12.57,    UpperCAmelCase__ = APPID			)     ->     dict:
       return requests.get(URL_BASE + """onecall""",    params=locals()			).json()


if __name__ == "__main__":
      from pprint import pprint

      while True:
            __lowerCamelCase						    =      input('''Enter a location:''').strip()
            if location:
                  pprint(current_weather(location))
            else:
                  break



'''simple docstring'''







def  UpperCAmelCase__      ( UpperCAmelCase__ = 10_00			)     ->     int:
       return sum(2 * a * ((a - 1) // 2) for a in range(3,    n + 1			)			)


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