Problem2562--按字典序统计每个英文字母出现的次数

2562: 按字典序统计每个英文字母出现的次数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

给定一行字符(注意字符之间可能有空格分隔),请统计每个小写英文字母出现的次数,然后按26个小写英文字母的字典序输出(如果某个字母没有出现过,请输出0)
例如:
hello world
输出:

0 0 0 1 1 0 0 1 0 0 0 3 0 0 2 0 0 1 0 0 0 0 1 0 0 0

Input

一行字符(注意字符之间可能有空格分隔),字符个数小于1000

Output

26个数字,分别代表a、b、..... z在字符串中出现的次数

Sample Input Copy

another reason for C++'s rise is its "recent" and constant publication of new language standards with interesting features.

Sample Output Copy

10 1 3 3 11 3 3 2 8 0 0 2 0 12 6 1 0 8 10 11 3 0 2 0 0 0

Source/Category