def rotate_sequence(seq, current):
    """
    Rotates sequence in given index
    :param seq: list
    :param current: int
    :return: list
    """
    n = len(seq)
    for i in range(n):
        yield seq[(i + current) % n]
