You are viewing a single comment's thread. Return to all comments →
input_value=int(input())
dist={}
taken_list=list(map(int,input().split()))
for i in taken_list:
dist[i]=dist.get(i,0)+1
for k,j in dist.items():
if j==1: print(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 →
input_value=int(input())
dist={}
taken_list=list(map(int,input().split()))
for i in taken_list:
for k,j in dist.items():