fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let (mut a, mut b) = (0, 0); for w in s.trim().split("yukicoder").skip(1) { if w.is_empty() { b += 1; } else { a = a.max(b + 1); b = 0; } } println!("{a}") }