fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); println!("{}ham", if s.contains('u') { s.trim() } else { "" }) }