import numpy as np
n = int(input())
a = np.array(list(map(int, input().split())))
counter = np.bincount(a)
for i in range(1, n+1):
    if i < len(counter):
        print(counter[i])
    else:
        print(0)
