def sub(xs, ys):
    """
    Computes xs - ys, such that elements in xs that occur in ys are removed.
    @param xs: list
    @param ys: list
    @return: xs - ys
    """
    return [x for x in xs if x not in ys]