def get_next_senate_elections(current_cycle):
    """
    Returns an dictionary of senate classes in chronological order
    based on current cycle year
    Uses mod 6 to determine what senate classes are up for election
    in the current cycle

    For example, class 1 will always be up for election in years
    with year % 6 = 2, for example 2018.
    """
    next_election_decoder = {
        2: {'1': current_cycle, '2': (current_cycle + 2), '3': (current_cycle + 4)},
        4: {'2': current_cycle, '3': (current_cycle + 2), '1': (current_cycle + 4)},
        0: {'3': current_cycle, '1': (current_cycle + 2), '2': (current_cycle + 4)}
    }
    return next_election_decoder.get(current_cycle % 6)