use std::io; use std::cmp; fn main() { let (a, b, c) = { let mut s = String::new(); io::stdin().read_line(&mut s).unwrap(); let mut iter = s.split_whitespace().map(|i| i.parse::().unwrap()); (iter.next().unwrap(), iter.next().unwrap(), iter.next().unwrap()) }; println!("{}", cmp::min(a, cmp::min(b, c))); }