fn main() { let mut a123 = String::new(); std::io::stdin().read_line(&mut a123).ok(); let a123: Vec = a123.trim().split_whitespace().map(|s| s.parse().unwrap()).collect(); println!("{}", a123.iter().min().unwrap()); }