#CCBCHBAHAI0000170. Histogram điểm 0..10 (Score Histogram 0..10)

    ID: 1088 Loại: Thông thường 2000ms 256MiB Tried: 0 Đã chấp nhận: 0 Độ khó: 1 Đăng bởi: Nhãn>Programming language basicsStatic arraysIteration techniquesImplementation techniquesInteger arithmetic

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 nn integer scores, each from 00 to 1010. For every v∈{0,1,…,10}v\in\{0,1,\ldots,10\}, let fvf_v be the number of scores equal to vv. Print the full histogram f0,f1,…,f10f_0,f_1,\ldots,f_{10}.

Input

  • Line 1: integer nn.
  • Line 2: nn scores.

Output

Print eleven integers separated by spaces.

Subtask

Subtask 1 (100 points): 1≤n≤1051\le n\le10^5; 0≤si≤100\le s_i\le10.

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 0,5,7,8,100,5,7,8,10 occur 1,1,2,3,21,1,2,3,2 times respectively.