fn main() { let input: Vec = read_vec(); let sum: u32 = input.iter().fold(0, |sum, a| sum + a); println!("{}", 55 - sum); } fn read() -> T { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.trim().parse().ok().unwrap() } fn read_vec() -> Vec { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.trim().split_whitespace() .map(|e| e.parse().ok().unwrap()).collect() }