





'''simple docstring'''






def 							_lowerCamelCase(  UpperCamelCase__    : list    ,       UpperCamelCase__    : list    ,       UpperCamelCase__    : int		)		->  list:

    '''simple docstring'''





    A       :       Dict							=						len(UpperCamelCase__		)
    A       :       Any							=						[[0] * n for i in range(UpperCamelCase__		)]
    for i in range(UpperCamelCase__		):
        A       :       int							=						y_points[i]

    for i in range(2    ,       UpperCamelCase__		):
        for j in range(UpperCamelCase__    ,       UpperCamelCase__		):
            A       :       List[Any]							=						(
                (xa - x_points[j - i + 1]) * q[j][i - 1]
                - (xa - x_points[j]) * q[j - 1][i - 1]
            ) / (x_points[j] - x_points[j - i + 1])

    return [q[n - 1][n - 1], q]


if __name__ == "__main__":
     import doctest

     doctest.testmod()







'''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""")))
