(* swapping two numbers *)
open Scanf
open Printf
let sort a b = 
  if a < b then [a;b]
  else [b;a];;

let rec print_list a_list =
  match a_list with
    [] -> print_newline()
  | fst::rest -> printf "%d " fst;print_list rest;;

let () = print_list (scanf "%d %d" sort);;