Hide

Problem D
Óvissa

Languages en is
/problems/ovissa/file/statement/en/img-0001.jpg
U-turn by Caleb Jones, Unsplash
Unnar is sure of many things in his life. It is in fact so rare that Unnar is uncertain, that it is important to measure his level of uncertainty when he is. He says ‘u’ when he is uncertain. Unnar’s level of uncertainty is measured by the duration of his ‘u’. For example, if Unnar says ‘uuuuu’, then his level of uncertainty is $5$.

Input

Input consists of a single line which represents the sound Unnar made the last time he was uncertain. There will be at least one and at most $100\, 000$ symbols in the input.

Output

Output one integer, Unnar’s level of uncertainty.

Scoring

Group

Points

Constraints

1

30

Unnar’s uncertainty is at most $5$

2

70

No further constraints

Sample Input 1 Sample Output 1
uuuuu
5
Sample Input 2 Sample Output 2
uuuuuuuuuuuuuu
14