import std.stdio,std.conv,std.string,std.algorithm;
void main(){
	auto args = readln().chomp().split();
	auto a = to!int(args[0]);
	auto b = to!int(args[1]);
	auto c = to!int(args[2]);
	auto arg = [a,b,c].sort();
	writeln(arg[0]," ",arg[1]," ",arg[2]);
}