Problem A: 统计字符的个数

Problem A: 统计字符的个数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 64  Solved: 17
[Submit] [Status] [Web Board] [Creator:]

Description


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

Input a string of characters from the keyboard until you enter the "#" character to represent the end. Write a program to counter the number of uppercase characters, lowercase characters and numeric characters in the input stream.



Input

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


Input: There is only one line, a string of characters. (Length is less than 20)

 


Output

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


Output: The output is only one line (which means there is a carriage return at the end), includes 3 integers, representing the number of uppercase characters, lowercase characters and numeric characters respectively.


Sample Input Copy

daDSALDdcada3240#

Sample Output Copy

5 7 4