You are viewing a single comment's thread. Return to all comments →
_ = input() room = list(map(int,input().split())) uroom = set(room) for x in uroom: room.remove(x) print(uroom.difference(set(room)).pop())
Seems like cookies are disabled on this browser, please enable them to open this website
Set Mutations
You are viewing a single comment's thread. Return to all comments →
_ = input() room = list(map(int,input().split())) uroom = set(room) for x in uroom: room.remove(x) print(uroom.difference(set(room)).pop())