<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compose(*funcs):
 """compose a list of functions"""

    return lambda x: reduce(lambda v, f: f(v), reversed(funcs), x)