Sleeping cars#767

Sleeping cars

1 second
128 megabytes
Very easy (≈850)

A train contains sleeping cars, marked with letter , and sitting cars, marked with letter . Find the biggest number of sleeping cars that follow each other in the train.

Input

One line contains a sequence of letters and , with length from to characters.

Output

Print the maximum number of seeping cars that follow each other.

Examples

Example 41

Loading
Loading