def most_common_list_value(values):
    """Select the most common value from a list.

    Parameters
    ----------
    values : List[T]
        Input list.

    Returns
    -------
    T
        Most common value.

    """
    occurrences = dict()
    for value in values:
        occurrences.setdefault(value, 0)
        occurrences[value] += 1
    return max(occurrences.items(), key=lambda x: x[1])[0]