Problems

# Number of words

There is some sentence in unknown language. You need to count the number of words in it. The letters of the alphabet in unknown language are the letters of the Latin alphabet and Arabian digits. It is guaranteed, that other symbols, except blanks and punctuation marks, are not present in sentence.

#### Input

One line with a sentence in unknown language.

#### Output

Print the number of words in the sentence.

Time limit 1 second
Memory limit 128 MiB
Input example #1
Hello, world!

Output example #1
2