8265: ABC279 —— A - wwwvvvvvv
[Creator : ]
Description
You are given a string S consisting of v and w.
Print the number of "bottoms" in the string S (see the figure at Sample Input/Output).
Print the number of "bottoms" in the string S (see the figure at Sample Input/Output).
Input
The input is given from Standard Input in the following format:
$S$
$S$
Output
Print the answer as an integer.
Constraints
S is a string consisting of v and w.
The length of S is between 1 and 100, inclusive.
The length of S is between 1 and 100, inclusive.
Sample 1 Input
vvwvw
Sample 1 Output
7
The image above shows the seven "bottoms" in the string vvwvw.
Sample 2 Input
v
Sample 2 Output
1
Sample 3 Input
wwwvvvvvv
Sample 3 Output
12