from typing import Sequence


def remove_reps(
    seq: Sequence,
) -> Sequence:

    """Remove consecutive equal elements from a given sequence"""
    
    result = [seq[0]]
    for el in seq[1:]:
        if el == result[-1]:
            pass
        else:
            result.append(el)
    return result