


def 				_lowercase     (		SCREAMING_SNAKE_CASE_ :		int						):





			"""simple docstring"""




			if num <= 0:
						raise ValueError("""Input must be a positive integer"""						)

			UpperCamelCase								=       [True] * (num + 1)

			UpperCamelCase								=       2
			while p * p <= num:
						if primes[p]:
									for i in range(p * p							,	num + 1							,	_UpperCAmelCase						):
												UpperCamelCase								=       False
						p += 1

			return [prime for prime in range(2							,	num + 1						) if primes[prime]]


if __name__ == "__main__":
			import doctest

			doctest.testmod()

			__snake_case      = int(input("Enter a positive integer: ").strip())
			print(prime_sieve_eratosthenes(user_num))











import requests

a__      :     Any         =		'YOUR API KEY'

def      UpperCAmelCase_    (    _UpperCAmelCase							:str  ,						_UpperCAmelCase							:str = giphy_api_key				)	->				list:
     '''simple docstring'''


     A_          =       '''+'''.join(query.split()				)
     A_          =       f'https://api.giphy.com/v1/gifs/search?q={formatted_query}&api_key={api_key}'
     A_          =       requests.get(_UpperCAmelCase				).json()['''data''']
     return [gif["url"] for gif in gifs]


if __name__ == "__main__":
      print('\n'.join(get_gifs('space ship')))



