n=int(input()) a=list(map(int,input().split())) def f(x): if x==0: return n return f(x-1)-a.count(x) b=[str(f(i)) for i in range(n)] print(" ".join(b))