



"""simple docstring"""


import requests

snake_case_    					=	"""YOUR API KEY"""

def 			_lowerCAmelCase				(       lowercase_		,     lowercase_ = 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(lowercase_						).json()['data']
						return [gif["url"] for gif in gifs]


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










"""simple docstring"""


def 			_lowerCAmelCase				(       ):
						for n in range(1		,     1000000						):
												yield n * (n + 1) // 2

def 			_lowerCAmelCase				(       lowercase_						):
						UpperCAmelCase					=			1
						UpperCAmelCase					=			2
						while i * i <= n:
												UpperCAmelCase					=			0
												while n % i == 0:
																		n //= i
																		multiplicity += 1
												divisors_count *= multiplicity + 1
												i += 1
						if n > 1:
												divisors_count *= 2
						return divisors_count

def 			_lowerCAmelCase				(       ):
						return next(i for i in triangle_number_generator() if count_divisors(lowercase_						) > 500						)


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





