def invert_premise(premise):
    """returns the inverted premise.
    """
    pre = premise.copy()
    if pre[1] == "L":
        pre[1] = "R"
    elif pre[1] == "R":
        pre[1] = "L"
    return pre