def management():
    N=int(input())
    static_list=list(map(int,input().split()))
    result_list=[]
    mid_list=[]
    for i in range(0,N):
        result_list.append(0)
        mid_list.append(0)
    for i in range(0,len(static_list)):
        for j in range(0,N):
            if static_list[i]==j+1:
                result_list[j]=result_list[j]+1
    for i in range(0,N):
        print(result_list[i])


if __name__=="__main__":
    management()
