from typing import OrderedDict


def get_shifted_key_value(orderd_dict, key, shift):
    """
    Given an OrderedDict, get the value at a key which is offset from the given key by shift.
    :param orderd_dict:
    :param key:
    :param shift:
    :return: The value at the shifted key
    """
    assert isinstance(orderd_dict, OrderedDict)
    keylist = list(orderd_dict.keys())
    key_ix = keylist.index(key)
    new_key = keylist[key_ix+shift]
    return orderd_dict[new_key]