use std::io;                                                                                                                                                                                                                                 use std::io::prelude::*;                                                                                                                                                                                                                                                                                                                                                                                                                                                                  fn main() {                                                                                                                                                                                                                                      let stdin = io::stdin();                                                                                                                                                                                                                     for line in stdin.lock().lines() {                                                                                                                                                                                                               let uline = line.unwrap();                                                                                                                                                                                                                   let vec: Vec<&str> = uline.split_whitespace().collect();                                                                                                                                                                                     let a: u32 = vec[0].parse().unwrap_or(0);                                                                                                                                                                                                    let b: u32 = vec[1].parse().unwrap_or(0);                                                                                                                                                                                                    if a == 0 && b == 0 {                                                                                                                                                                                                                            break;                                                                                                                                                                                                                                   } else if &a < &b {                                                                                                                                                                                                                              println!("{} {}", a, b);                                                                                                                                                                                                                 } else {                                                                                                                                                                                                                                         println!("{} {}", b, a);                                                                                                                                                                                                                 }                                                                                                                                                                                                                                        }                                                                                                                                                                                                                                        }


Measured memory_bytes: 5056