use std::io::Read; fn solve(summary: i64, s: &str) { println!("{} {}", summary, s); } fn main() { let mut all_data = String::new(); std::io::stdin().read_to_string(&mut all_data).ok(); let mut iters = all_data.split('\n'); let summary: i64 = iters.next().unwrap().trim().split_whitespace() .map(|s| s.parse::().unwrap()) .sum(); let s = iters.next().unwrap().trim(); solve(summary, s); }