You are viewing a single comment's thread. Return to all comments →
from collections import Counter n = int(input()) a = Counter(sorted(list(map(int, input().strip().split())))) b = [i for i,j in a.items() if j<n] print(*b)``
Seems like cookies are disabled on this browser, please enable them to open this website
Check Subset
You are viewing a single comment's thread. Return to all comments →