Number of words#329

Number of words

1 second
128 megabytes
Easy

There is a sentence in an unknown language. Count the number of words in it. The alphabet in the unknown language consists of the letters of the Latin alphabet and Arabic digits. It is guaranteed that no other symbols except spaces and punctuation marks are present in the sentence.

Input

One line containing a sentence in the unknown language.

Output

Print the number of words in the sentence.

Examples

Example 1

Loading
Loading