use std::io::Read; fn main() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let a = ["watermelon", "beachball", "shrinebell"] .iter() .find(|&x| !s.contains(x)); println!("{}", a.unwrap()) }