from typing import Callable


def composed(*decorators: Callable) -> Callable:
    """ Build a decorator by composing a list of decorator """

    def inner(f: Callable) -> Callable:
        for decorator in reversed(decorators):
            f = decorator(f)
        return f

    return inner