You are viewing a single comment's thread. Return to all comments →
from collections import Counter
size_of_each_group = int(input()) unorder_list = list(map(int, input().split()))
count = Counter(unorder_list)
for s in count: if count[s] == 1: print(s)
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 →
from collections import Counter
size_of_each_group = int(input()) unorder_list = list(map(int, input().split()))
count = Counter(unorder_list)
for s in count: if count[s] == 1: print(s)