Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- all = input()
- motteru_all = input()
- motteru = input()
- utteru_all = input()
- utteru = input()
- motteru_list=motteru.split(" ")
- utteru_list=utteru.split(" ")
- num=[]
- for i in utteru_list[:]:
- if i in motteru_list:
- num.append(i)
- for i in num:utteru_list.remove(i)
- if utteru_list==[]:print("None")
- else:print(" ".join(utteru_list))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement