Number of sentences#8980

Number of sentences

1 segundo
128 megabytes
Muy fácil

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.

Entrada

One line of text that consists of Latin characters, punctuation marks and spaces. Line contains no more than symbols.

Salida

Print the number of sentences in the text.

Ejemplos

Ejemplo 1

Loading
Loading