Problem1149--桶计数-1-10出现的次数

1149: 桶计数-1-10出现的次数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 622  Solved: 463
[Status] [Submit] [Creator:]

Description

输入一个数字n,然后输入n个整数(每个整数都在1-10之间),请输出1-10分别出现了多少次。

Input

输入2行,第一行包括1个整数 n(1 ≤  n ≤ 100)。
第二行包括n个整数。

Output

输出一行,包括10个整数,分别表示1-10这十个数字分别出现的次数。

Sample Input Copy

5
1 8 6 10 3

Sample Output Copy

1 0 1 0 0 1 0 1 0 1

Source/Category

 基础B