Problems
Number of words
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.
Input example #1
Hello, world!
Output example #1
2