def get_sample_mean(values: list) -> float:
    """
    Calculates the sample mean (overline x) of the elements in a list

    :param values: list of values
    :return: sample mean
    """
    sample_mean = sum(values) / len(values)
    return sample_mean