use std::io::Read; fn main() { let mut s: String = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let mut itr = s.trim().split_whitespace(); let n: &str = itr.next().unwrap(); let m: &str = itr.next().unwrap(); let kao: &str = "(^o^)/"; let kao = kao.replace("^", n).replace("o", m); println!("{}", kao); }