






"""simple docstring"""







import requests

__a       :	int             = ''  # <-- Put your OpenWeatherMap appid here!
__a       :	int             = 'https://api.openweathermap.org/data/2.5/'





def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_ = "Chicago" ,     lowerCamelCase_ = APPID):
					return requests.get(URL_BASE + '''weather''' ,     params=locals()).json()





def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_ = "Kolkata, India" ,     lowerCamelCase_ = APPID):
					return requests.get(URL_BASE + '''forecast''' ,     params=locals()).json()





def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_ = 55.68 ,     lowerCamelCase_ = 12.57 ,     lowerCamelCase_ = APPID):
					return requests.get(URL_BASE + '''onecall''' ,     params=locals()).json()


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

				while True:
								__a       :	Union[str, Any]             = input('Enter a location:').strip()
								if location:
												pprint(current_weather(location))
								else:
												break










"""simple docstring"""







__a       :	Union[str, Any]             = range(2, 20 + 1)
__a       :	Any             = [10**k for k in range(ks[-1] + 1)]
__a       :	dict[int, dict[int, list[list[int]]]]             = {}





def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_ ,     lowerCamelCase_ ,     lowerCamelCase_ ,     lowerCamelCase_):
					a__          =  sum(a_i[j] for j in range(lowerCamelCase_ ,     len(lowerCamelCase_)))
					a__          =  sum(a_i[j] * base[j] for j in range(min(len(lowerCamelCase_) ,     lowerCamelCase_)))

					a__       ,a__          =  0, 0
					a__          =  n - i

					a__          =  memo.get(lowerCamelCase_)

					if sub_memo is not None:
										a__          =  sub_memo.get(lowerCamelCase_)

										if jumps is not None and len(lowerCamelCase_) > 0:
															# find and make the largest jump without going over
															a__          =  -1
															for _k in range(len(lowerCamelCase_) - 1 ,     -1 ,     -1):
																				if jumps[_k][2] <= k and jumps[_k][1] <= max_dn:
																									a__          =  _k
																									break

															if max_jump >= 0:
																				a__       ,a__       ,a__          =  jumps[max_jump]
																				# since the difference between jumps is cached, add c
																				a__          =  diff + c
																				for j in range(min(lowerCamelCase_ ,     len(lowerCamelCase_))):
																									a__       ,a__          =  divmod(lowerCamelCase_ ,     10)
																				if new_c > 0:
																									add(lowerCamelCase_ ,     lowerCamelCase_ ,     lowerCamelCase_)

										else:
															a__          =  []
					else:
										a__          =  {c: []}
										a__          =  sub_memo

					if dn >= max_dn or c + diff >= base[k]:
										return diff, dn

					if k > ks[0]:
										while True:
															# keep doing smaller jumps
															a__       ,a__          =  next_term(lowerCamelCase_ ,     k - 1 ,     i + dn ,     lowerCamelCase_)
															diff += _diff
															dn += terms_jumped

															if dn >= max_dn or c + diff >= base[k]:
																				break
					else:
										# would be too small a jump, just compute sequential terms instead
										a__       ,a__          =  compute(lowerCamelCase_ ,     lowerCamelCase_ ,     i + dn ,     lowerCamelCase_)
										diff += _diff
										dn += terms_jumped

					a__          =  sub_memo[c]

					# keep jumps sorted by # of terms skipped
					a__          =  0
					while j < len(lowerCamelCase_):
										if jumps[j][1] > dn:
															break
										j += 1

					# cache the jump for this value digitsum(b) and c
					sub_memo[c].insert(lowerCamelCase_ ,     (diff, dn, k))
					return (diff, dn)





def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_ ,     lowerCamelCase_ ,     lowerCamelCase_ ,     lowerCamelCase_):
					if i >= n:
										return 0, i
					if k > len(lowerCamelCase_):
										a_i.extend([0 for _ in range(k - len(lowerCamelCase_))])

					# note: a_i -> b * 10^k + c
					# ds_b -> digitsum(b)
					# ds_c -> digitsum(c)
					a__          =  i
					a__       ,a__       ,a__          =  0, 0, 0
					for j in range(len(lowerCamelCase_)):
										if j >= k:
															ds_b += a_i[j]
										else:
															ds_c += a_i[j]

					while i < n:
										i += 1
										a__          =  ds_c + ds_b
										diff += addend
										a__          =  0
										for j in range(lowerCamelCase_):
															a__          =  a_i[j] + addend
															a__       ,a__          =  divmod(lowerCamelCase_ ,     10)

															ds_c += a_i[j]

										if addend > 0:
															break

					if addend > 0:
										add(lowerCamelCase_ ,     lowerCamelCase_ ,     lowerCamelCase_)
					return diff, i - start_i





def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_ ,     lowerCamelCase_ ,     lowerCamelCase_):
					for j in range(lowerCamelCase_ ,     len(lowerCamelCase_)):
										a__          =  digits[j] + addend
										if s >= 10:
															a__       ,a__          =  divmod(lowerCamelCase_ ,     10)
															a__          =  addend // 10 + quotient
										else:
															a__          =  s
															a__          =  addend // 10

										if addend == 0:
															break

					while addend > 0:
										a__       ,a__          =  divmod(lowerCamelCase_ ,     10)
										digits.append(lowerCamelCase_)





def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_ = 10**15):
					a__          =  [1]
					a__          =  1
					a__          =  0
					while True:
										a__       ,a__          =  next_term(lowerCamelCase_ ,     20 ,     i + dn ,     lowerCamelCase_)
										dn += terms_jumped
										if dn == n - i:
															break

					a__          =  0
					for j in range(len(lowerCamelCase_)):
										a_n += digits[j] * 10**j
					return a_n


if __name__ == "__main__":
	print(F'''{solution() = }''')


