B. 【入门】统计字符的个数

    Type: Default 1000ms 16MiB

【入门】统计字符的个数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

从键盘中任意输入一串字符,直至输入"#"字符代表结束.请编程统计输入的字符中的大写字母,小写字母和数字字符的个数分别是多少?

输入格式

输入只有一行,包括一串字符.(长度小于20)

输出格式

输出只有一行(这意味着末尾有一个回车符号),包括3个整数。分别代表大写字符,小写字符和数字字符的个数。

样例

daDSALDdcada3240#
5 7 4