Number of sentences#912

Number of sentences

1 second
128 megabytes
Very easy

Find the number of sentences in the given fragment of text.

Input

The input consists of a single line containing a fragment of text in English, with no more than characters. It is guaranteed that the text contains no dashes, hyphens, digits, or numbers.

Output

Output a single integer: the number of sentences in the fragment.

Examples

Example 1

Loading
Loading

Example 3

Loading
Loading