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

void main() {
    string str = chomp(readln());
    int[] nx = map!(to!int)(split(str)).array.sort!("a > b").array;
    for (int i = 0; i < nx.length - 1; ++i) {
        writef("%d ", nx[i]);
    }
    writeln(nx[nx.length-1]);
}