Number of sentences
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the number of sentences in the given fragment of the text.
Input
Unique line contains the text fragment in English, the number of its symbols does not exceed 250. It is guaranteed that the text has no dash, hyphens, digits and numbers.
Output
Print the number of sentences in the text fragment.
Examples
Input #1
Answer #1
Input #3
Answer #3
Submissions 25K
Acceptance rate 29%