You are viewing a single comment's thread. Return to all comments →
P = input() W = set(map(int, input().split())) U = input() S = set(map(int, input().split()))
for i in sorted(W^S): print(i)
Seems like cookies are disabled on this browser, please enable them to open this website
Symmetric Difference
You are viewing a single comment's thread. Return to all comments →
P = input() W = set(map(int, input().split())) U = input() S = set(map(int, input().split()))
for i in sorted(W^S): print(i)