
let () =
  let i = read_line () in
  let l = Scanf.sscanf i "%d %d %d" (fun a b c -> a::b::c::[]) in
  let sorted = List.sort (fun a b -> a-b) l in
  print_endline (String.concat " " (List.map string_of_int sorted))