<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filter_pipeline(effects, filters):
 """ Apply each filter to the effect list sequentially. If any filter returns zero values then ignore it. As soon as only one effect is left, return it. Parameters effects : list of MutationEffect subclass instances filters : list of functions Each function takes a list of effects and returns a list of effects Returns list of effects """

    for filter_fn in filters:
        filtered_effects = filter_fn(effects)
        if len(effects) == 1:
            return effects
        elif len(filtered_effects) > 1:
            effects = filtered_effects
    return effects