<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:


def max_element(l: list):
    """Return maximum element in the list. 3 123 """
    m = l[0]
    for e in l:
        if e > m:
            m = e
    return m
