mod cc_input { pub fn read_string() -> String { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); return s.trim().to_string(); } pub fn read_vec() -> Vec { read_string() .split_whitespace() .map(|e| e.trim().parse().ok().unwrap()) .collect() } pub fn read_pair() -> (T, T) { let xs: Vec = read_vec(); return (xs[0].clone(), xs[1].clone()); } } fn main() { let (a, b) = cc_input::read_pair::(); let s = cc_input::read_string(); println!("{} {}", a + b, s); }