Problem 3: 统计单词个数

Problem 3: 统计单词个数

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

Description

输入字符串(包含空格),统计其中单词个数,单词之间以一个或多个空格隔开

Input

How are you

Output

3

Sample Input

How are you

Sample Output

3

[Submit][Status]