<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rouge_l(hypotheses, references):
 """ Calculate ROUGE-L F1, precision, recall scores """

    rouge_l = [
        rouge_l_sentence_level([hyp], [ref])
        for hyp, ref in zip(hypotheses, references)
    ]
    rouge_l_f, _, _ = map(np.mean, zip(*rouge_l))
    return rouge_l_f