eolymp
bolt
Try our new interface for solving problems
Problems

Number of sentences

Number of sentences

Time limit 1 second
Memory limit 128 MiB

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