Chika is running a popularity contest! people with IDs from to each get to vote for an individual (possibly themselves). Count how many votes each person got!
Constraints
Input Specification
The first line contains a single integer, .
The next line contains space-separated integers, the values in order. Student voted for student in the contest.
Output Specification
Output lines. On line , output how many votes student got.
Sample Input
5
4 4 5 5 3
Sample Output
0
0
1
2
2
Comments