import std.stdio;
import std.conv;
import std.string;
import std.algorithm; 
import std.file;
import std.math;

int main() {
	string l;
	while((l = readln().chomp, l.length)){
		int[] a;
		foreach(string s; l.split()) a ~= to!int(s);
		sort!("a > b")(a);
		string[] b;
		foreach(int i; a) b ~= to!string(i);
		write(b.join(" ") ~ "\n");
		}
	return 0;
	}