fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); println!( "{:?}", s.split(|c| c != '…') .map(|s| s.chars().count()) .max() .unwrap() ); }