B. 数字统计

    Type: Default 1000ms 256MiB

数字统计

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

输入 nnnn001010 的整数,然后输出 0099 分别有多少个?

Format

Input

第一行一个整数 nn,表示数字个数。
第二行为 nn 个数。

Output

输出每个数出现的次数。

Samples

10
1 1 4 5 1 4 1 9 1 9
0 5 0 0 2 1 0 0 0 2

Limitation

1n1001 \le n \le 100

2025/07/18新生课前测

Not Attended
Status
Done
Rule
Ledo
Problem
5
Start at
2025-7-18 7:45
End at
2025-7-18 8:45
Duration
1 hour(s)
Host
Partic.
24