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 "...", "!!!" and "?!" in the text.
One line of text that consists of Latin characters, punctuation marks and spaces. Line contains no more than symbols.
Print the number of sentences in the text.
Example 1