1033: 统计字符串中字母数字空格和其它字符的个数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

编写一函数count,由实参传来一个字符串,统计此字符串中字母、数字、空格和其它字符的个数,在主函数中输入字符串以及输出上述结果。 只要结果,别输出什么提示信息。

Input

一行字符串

Output

统计数据,4个数字,空格分开。

Sample Input Copy

!@#$%^QWERT    1234567

Sample Output Copy

5 7 4 6

Source/Category