$s = <>; $ans = 0; while($s=~/(yukicoder)+/g){ if($ans < length($&)/9){ $ans = length($&)/9; } } print $ans,$/;