def compose(f, g):
    """
    :param f: Second function to apply
    :param g: First function to apply
    :return: A composition of functions
    """
    return lambda *args, **kwargs: f(g(*args, **kwargs))