function main() {
	input = input[0].split(' ');
	a = parseInt(input[0]);
	b = parseInt(input[1]);
	c = parseInt(input[2]);

	array = [a, b, c];
	array.sort();
	console.log(array);
}

var input = "";

process.stdin.resume();
process.stdin.setEncoding("utf-8");
process.stdin.on("data", function(chunk) {
	input += chunk;
});

process.stdin.on("end", function() {
	input = input.split("\n");
	main();
})