You are viewing a single comment's thread. Return to all comments →
N = int(input()) A = list(map(int, input().split())) for n in set(A): A.remove(n) if n not in A: print(n) exit()
Seems like cookies are disabled on this browser, please enable them to open this website
The Captain's Room
You are viewing a single comment's thread. Return to all comments →
N = int(input()) A = list(map(int, input().split())) for n in set(A): A.remove(n) if n not in A: print(n) exit()