#Pr153. Character Counting——字符统计
Character Counting——字符统计
Statement
Consider inputting strings consisting of lowercase letters, where and . Output the number of occurrences of each lowercase letter from a to z.
Input
The first line gives an integer .
Next, there are lines, with each line containing a number and a string , where represents the length of .
Output
For each string, output a line containing 26 integers representing the occurrence frequencies of characters from a to z.
Samples
3
9 adsuidazz
2 ab
10 dschhymklz
2 0 0 2 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 2
1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 2 0 0 1 1 1 0 0 0 0 0 1 0 0 0 0 0 1 1