Problems
Number of sentences
Number of sentences
Find the number of sentences in the text. Consider a sentence ending with one of the characters "." (point), "!" (exclamation point) or "?" (question mark), but there are no character sets like "...", "!!!" и "?!" in the text.
Input data
One line of text that consists of Latin characters, punctuation marks and spaces. Line contains no more than 200 symbols.
Output data
Print the number of sentences in the text.
Examples
Input example #1
Hello, world!
Output example #1
1