a= input() b = input() c = a.split(" ") d = b.split(" ") #当要删除的好友多于1个时就要使用for循环遍历 for i in d: if i in c: c.remove(i) print(c)