You are viewing a single comment's thread. Return to all comments →
from collections import Counter N = int(input()) count = Counter(map(int, input().split())) print(next(k for k, v in count.items() if v != N))
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 →