use proconio::*; fn main() { input! { a: u16, b: u16, c: u16, } let s = a + b + c; let s = match (a, b, c) { (1, 1, 1) => "Infinity", (_, _, _) => &s.to_string(), }; println!("A+B+C={s}"); }