#CCBCHBAHAI0000170. Histogram điểm 0..10 (Score Histogram 0..10)
Histogram điểm 0..10 (Score Histogram 0..10)
Score Histogram 0..10
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem
Given integer scores, each from to . For every , let be the number of scores equal to . Print the full histogram .
Input
- Line 1: integer .
- Line 2: scores.
Output
Print eleven integers separated by spaces.
Subtask
Subtask 1 (100 points): ; .
Example
Input
9
10 8 8 7 10 0 5 8 7
Output
1 0 0 0 0 1 0 2 3 0 2
Explanation
Scores occur times respectively.