eolymp
bolt
Try our new interface for solving problems
Problems

Number of words

Number of words

Time limit 1 second
Memory limit 128 MiB

Find the number of words in the given text.

Input data

The English text is given in one line, the number of characters does not exceed 250. It is guaranteed that the text does not contain dashes, hyphens, digits, or numbers.

Output data

Print the number of words in the text.

Examples

Input example #1
Hello world!
Output example #1
2
Input example #2
Hello world! Hello,    country!
Output example #2
4
Source SFE-2010 Variant 9