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