def count_big_chr(str: str) -> int:
c: int = 0
for x in str:
ord_x = ord(x)
if 65 <= ord_x <= 90:
c += 1
return c
while True:
try:
s: str = input()
print(count_big_chr(s))
except:
break

京公网安备 11010502036488号