let () = 
  let s = read_line () in
  let result = Str.split (Str.regexp " ") s |>
               List.map int_of_string |>
               List.sort (-) |>
               List.map string_of_int |>
               String.concat " " in
  print_endline result