#AT2389. A - wwwvvvvvv

A - wwwvvvvvv

当前没有测试数据。

A - wwwvvvvvv

Score : $100$ points

Problem Statement

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).

Constraints

  • $S$ is a string consisting of v and w.
  • The length of $S$ is between $1$ and $100$, inclusive.

Input

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

SS

Output

Print the answer as an integer.


vvwvw
7

vvwvw

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


v
1

wwwvvvvvv
12