



"""simple docstring"""





import requests

lowerCamelCase       	=						"""YOUR API KEY"""
def        a__     (				lowerCAmelCase__     ,      lowerCAmelCase__ = giphy_api_key				):
      UpperCAmelCase_      			=							"+".join(query.split()				)
      UpperCAmelCase_      			=							f"""https://api.giphy.com/v1/gifs/search?q={formatted_query}&api_key={api_key}"""
      UpperCAmelCase_      			=							requests.get(lowerCAmelCase__				).json()["data"]
      return [gif["url"] for gif in gifs]


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









"""simple docstring"""





from maths.prime_check import is_prime
def        a__     (				lowerCAmelCase__				):
      if not isinstance(lowerCAmelCase__     ,      lowerCAmelCase__				):
            UpperCAmelCase_      			=							f"""Input value of [number={number}] must be an integer"""
            raise TypeError(lowerCAmelCase__				)
      if is_prime(lowerCAmelCase__				) and is_prime(number + 2				):
            return number + 2
      else:
            return -1


if __name__ == "__main__":
  import doctest

  doctest.testmod()




