function Main(input){
	input=input.split(" ");
	let a=parseInt(input[0],10);
	let b=parseInt(input[1],10);
	let c=parseInt(input[2],10);
	if (a > b) {
		[a, b] = [b,a];
		if (b > c) {
			[b,c ] = [c,b];
			if (a > b) {
				[a,b] = [b,a];
			}
		} else if (a > c) {
			[a,c] = [c,a];
		}
	} else if (a > c) {
		[a,c] = [c,a];
		[b,c] = [c,b];
	} else if (b > c) {
		[b,c] = [c,b];
	}
	console.log("%d %d %d", a, b, c)		
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
