Score : $500$ points
Given is a string $S$ of length $N$. Let $s_i$ denote the $i$-th character of $S$. Find the maximum number of times the following operation can be done.
Input is given from Standard Input in the following format:
$S$
Print the maximum number of times the operation can be done.
accept
3
We can do the operation three times, as follows:
acccpt
;acccct
;accccc
.atcoder
0
anerroroccurred
16