#![allow(dead_code, unused_variables)] use std::io::{stdin, BufRead}; fn solve(a: i32, b: i32, c: i32) -> i32 { let y = a * b * c; let x = (a * b + b * c + c * a) * 2; if x > y { 2 } else { 3 } } fn main() { let v = veci32_from_line(); println!("{}", solve(v[0], v[1], v[2],)); } fn get_line() -> String { let mut buf = String::new(); stdin().lock().read_line(&mut buf).unwrap(); buf.trim_end().to_string() } fn veci32_from_line() -> Vec { get_line() .split_whitespace() .map(|s| s.parse().unwrap()) .collect() }