Sleeping cars
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
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
Input #41
Answer #41
Submissions 12K
Acceptance rate 41%