fn main(){ let mut s = String::new(); std::io::stdin().read_line(&mut s).unwrap(); let vec: Vec<&str> = s.trim().split(' ').collect(); if vec[0] != vec[1] { println!("{} {}", vec[1], vec[0]); } else { println!("{} {}", vec[0], vec[1]); } }