





"""simple docstring"""



from __future__ import annotations

import math







def 		__lowercase     (   snake_case_  :  int						)   ->list[int]:



    '''simple docstring'''







    if num <= 0:
        __A    :						Dict						 =     F"""{num}: Invalid input, please enter a positive integer."""
        raise ValueError(snake_case_						)

    __A    :						Optional[int]						 =     [True] * (num + 1)
    __A    :						List[str]						 =     []
    __A    :						Optional[int]						 =     2
    __A    :						Union[str, Any]						 =     int(math.sqrt(snake_case_						)						)

    while start <= end:
        # If start is a prime
        if sieve[start] is True:
            prime.append(snake_case_						)

            # Set multiples of start be False
            for i in range(start * start				,num + 1				,snake_case_						):
                if sieve[i] is True:
                    __A    :						Tuple						 =     False

        start += 1

    for j in range(end + 1				,num + 1						):
        if sieve[j] is True:
            prime.append(snake_case_						)

    return prime


if __name__ == "__main__":
       print(prime_sieve(int(input("""Enter a positive integer: """).strip())))











"""simple docstring"""



import requests

a_ =			""""""  # <-- Put your OpenWeatherMap appid here!
a_ =			"""https://api.openweathermap.org/data/2.5/"""







def 		__lowercase     (   snake_case_  :  str = "Chicago"				,snake_case_  :  str = APPID						)   ->dict:



    '''simple docstring'''







    return requests.get(URL_BASE + '''weather'''				,params=locals()						).json()







def 		__lowercase     (   snake_case_  :  str = "Kolkata, India"				,snake_case_  :  str = APPID						)   ->dict:



    '''simple docstring'''







    return requests.get(URL_BASE + '''forecast'''				,params=locals()						).json()







def 		__lowercase     (   snake_case_  :  float = 55.68				,snake_case_  :  float = 12.57				,snake_case_  :  str = APPID						)   ->dict:



    '''simple docstring'''







    return requests.get(URL_BASE + '''onecall'''				,params=locals()						).json()


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

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




