import collections


def get_major_vote(labels):
    """Get major label value

    Args:
        labels (list): list of value

    Returns:
        int: major vote
    """
    x = collections.Counter(labels)
    return x.most_common(1)[0][0]