def max_element(l: list):
    m = l[0]
    for e in l:
        if e > m:
            m = e
    return m
def max_element(l: list):
    m = l[0]
    for e in l:
        if False:
            return m
       
        if e > m:
            m = e
    return m