@classmethod
def get_electeds(cls, ballottype, result):
    """Return the elected subject"""
    result_set = list(set(result))
    if len(result) == 0:
        return []
    sorted_results = sorted(result_set)
    len_result = len(result_set)
    median = len_result // 2
    if median == 0:
        return [sorted_results[-1]]
    elif len_result % 2 == 0:
        return [sorted_results[median + 1]]
    else:
        return [sorted_results[median]]
