Number of sentences
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
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
One line of text that consists of Latin characters, punctuation marks and spaces. Line contains no more than 200 symbols.
Output
Print the number of sentences in the text.
Examples
Input #1
Answer #1
Submissions 6K
Acceptance rate 66%