7073 - Kindergarten Counting Game   

Description

算一算每行有幾個字(word)。
Word的定義是連續的字元(letter: A~Z a~z)所組成的字。

Input

測試資料每筆一行,每行至少有一個字。

Output

輸出每一行的word數。

Sample Input  Download

Sample Output  Download

Tags




Discuss