fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let mut max = 0; let mut now = 0; for c in s.chars() { if c == '…' { now += 1; } else if now > 0 { max = max.max(now); now = 0; } } println!("{max}"); }