





'''simple docstring'''






from __future__ import annotations

from collections.abc import Generator
def 							_lowerCamelCase(  )		->  Generator[int, None, None]:
    A       :       dict[int, int]							=						{}
    A       :       str							=						2
    while True:
        A       :       str							=						factor_map.pop(UpperCamelCase__    ,       UpperCamelCase__		)
        if factor:
            A       :       Optional[int]							=						factor + prime
            while x in factor_map:
                x += factor
            A       :       Optional[int]							=						factor
        else:
            A       :       Union[str, Any]							=						prime
            yield prime
        prime += 1
def 							_lowerCamelCase(  UpperCamelCase__    : float = 1e10		)		->  int:
    A       :       Union[str, Any]							=						sieve()

    A       :       str							=						1
    while True:
        A       :       Optional[int]							=						next(UpperCamelCase__		)
        if (2 * prime * n) > limit:
            return n
        # Ignore the next prime as the reminder will be 2.
        next(UpperCamelCase__		)
        n += 2


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







'''simple docstring'''






import requests

snake_case_     =	"""YOUR API KEY"""
def 							_lowerCamelCase(  UpperCamelCase__    : str    ,       UpperCamelCase__    : str = giphy_api_key		)		->  list:
    A       :       Optional[Any]							=						'''+'''.join(query.split()		)
    A       :       List[Any]							=						F'''https://api.giphy.com/v1/gifs/search?q={formatted_query}&api_key={api_key}'''
    A       :       int							=						requests.get(UpperCamelCase__		).json()['''data''']
    return [gif["url"] for gif in gifs]


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