You are viewing a single comment's thread. Return to all comments →
print(*(lambda m, set_m, n, set_n : sorted(set_m.symmetric_difference(set_n)))(input(), set(map(int, input().split())), input(), set(map(int, input().split()))), sep="\n")
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 →
print(*(lambda m, set_m, n, set_n : sorted(set_m.symmetric_difference(set_n)))(input(), set(map(int, input().split())), input(), set(map(int, input().split()))), sep="\n")