import std.algorithm;
import std.array;
import std.conv;
import std.stdio;
import std.string;

void main(){
    writeln(readln.chomp.split.map!(to!int).array.sort.reverse.map!(to!string).reduce!((a, b) => a ~ " " ~ b));
}