def max_element(l: list):
    m = l[0]
    for e in l:
        if e > m:
            m = e
    return m
from typing import List
def mean_absolute_deviation(numbers: List[float]) -> float:
    mean = sum(numbers) / len(numbers)
    return sum(abs(x - mean) for x in numbers) / len(numbers)