A die is rolled $N$ times. Print how many times each face $1$ through $6$ appeared, space-separated.
Input
First line $N$ ($1 \le N \le 10000$); second line $N$ values, each in $[1, 6]$.
Output
Print six counts (for faces $1..6$), space-separated.
Example 1
Input
10 1 2 3 4 5 6 1 2 3 1
Output
3 2 2 1 1 1
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.