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

int[] 		raia(){ return readln().split().map!(to!int).array; }	//read as int[]
string[]	rasa(){ return readln().split(); }			//read as string[]
void main()
{
	auto it = raia();
	it.sort();
	writeln( it[0]," ",it[1]," ",it[2]);
}