let () =
  let sl = Str.split (Str.regexp " ") (read_line ()) in
  let il = List.sort Pervasives.compare (List.map int_of_string sl) in
  let result = String.concat " " il in
  Printf.printf "%s\n" result