n = int(input())
arr = map(int, input().split())
d = {}
for i in arr:
    i -= 1
    if i not in d:
        d[i] = 1
    else:
        d[i] += 1

for i in range(n):
    if i in d:
        print(d[i])
    else:
        print(0)


