use std::io; fn main() { let mut s = String::new(); io::stdin() .read_line(&mut s) .unwrap(); let (a, b, c) = { let mut words = s.trim().split_whitespace(); let a: i32 = words.next().unwrap().parse().unwrap(); let b: i32 = words.next().unwrap().parse().unwrap(); let c: i32 = words.next().unwrap().parse().unwrap(); (a, b, c) }; let ans = min(a, b, c); println!("{}", ans); } fn min(x: i32, y: i32, z: i32) -> i32 { std::cmp::min(x, std::cmp::min(y, z)) }