#abc279a. [abc279_a]wwwvvvvvv

[abc279_a]wwwvvvvvv

Problem Statement

You are given a string SS consisting of v and w.

Print the number of "bottoms" in the string SS (see the figure at Sample Input/Output).

Constraints

  • SS is a string consisting of v and w.
  • The length of SS is between 11 and 100100, inclusive.

Input

The input is given from Standard Input in the following format:

SS

Output

Print the answer as an integer.


Sample Input 1

vvwvw

Sample Output 1

7

vvwvw

The image above shows the seven "bottoms" in the string vvwvw.


Sample Input 2

v

Sample Output 2

1

Sample Input 3

wwwvvvvvv

Sample Output 3

12