Problem C: 统计大写英文字母的个数

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

Description

算算以 '' 结束的一串字符中含有多少个大写的英文字母。(大写字母的ASCII值在65~90之间,A的值是65,Z是90)

Input

输入一串字符(长度不超过 80 ),以 '.' 结束。

Output

输出一行,即这串字符中大写字母的个数。

Sample Input Copy

PRC,PRC,I'm from China.

Sample Output Copy

8