Problems
Number of sentences
Number of sentences
Find the number of sentences in the given fragment of the text.
Input data
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 data
Print the number of sentences in the text fragment.
Examples
Input example #1
Hello world!
Output example #1
1
Input example #3
Hi!!!
Output example #3
1