N = int(input()) A = list(map(int,input().split())) D = [0] * (A[0] + 1) for a in A: D[0] += 1 D[a] -= 1 for i in range(len(D) - 1): D[i + 1] += D[i] print(*D[:-1])