n,  = map(int, input().split())
A = [int(x) for x in input().split()]
freq=[]
k=1
for k in range(n):
    freq.append(k+1)
count=0
for k in range(n):
    for j in range(n-1):
        if A[j]==freq[k]:
           count=count+1
    print(count)
    count=0
