Problem2198--字符归类

2198: 字符归类

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

Description

小明近段时间闵读了英文名著 《巴黎圣母院》,该完后他忽然心血来潮,想分类统计一下某一句话中

大写字母、小写字母、数宇,以及其他字符(包括空格,但不包括小数点字符”.”)的个数。

Input

一句话,以宇符“.”结尾。

Output

输出有4行;

第—行大写字母个数;

第二行小写字母个数;

第三行数字字符的个数;

第四行其他字符的个数。

Sample Input Copy

Yet the 6th of January, 1482, was not a day of which history has preserved the record.

Sample Output Copy

A - Z:2
a - z:60
0 - 9:5
qita:18

Source/Category