def remove_elements(list1, list2):
    remove_set = set(list2)
    return [x for x in list1 if x not in remove_set]