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