from typing import Iterable
from typing import Deque
import collections


def rotate_copy(iterable: Iterable, n: int) -> Deque:
    """Return a deque of iterable with it's content rotated n places to the right.

    iterable: An iterable to rotate
    n: The number of places to rotate the iterable (negative values rotate to the left)
    """
    deq: Deque = collections.deque(iterable)
    deq.rotate(n)

    return deq