BlueBook
Given
Votes for valid candidates in the election are denoted by the letters
A
through F
, inclusive. Any other character represents a spoiled
ballot.
Input Specification
The first line contains a single integer
The following
Output Specification
Lines 1…6 should each contain one integer, the number of votes that
candidates A
…F
, respectively, received in the election. Line 7 should
also contain one integer, the number of spoiled ballots.
Sample Input
Copy
5
A
B
C
B
%
Sample Output
Copy
1
2
1
0
0
0
1
Comments