if __name__ == '__main__':
    a=int(input())
    b=list(map(int,input().split()))
    c=[]

    for i in range(1,a,):
        times = 0

        for t in range(0,a-1,):
            if i==b[t]:
                times=times+1
        c.append(times)

    for item in c:
        print(item,end='')
