'use strict';
process.stdin.on('data', function(chunk) {
  var inputs = chunk.toString().trim().split(' ');
  var a = Number(inputs[0]);
  var b = Number(inputs[1]);
  var c = Number(inputs[2]);

var sortTable = [a,b,c].sort(function(a,b){
	return a-b;
});
console.log(sortTable.join(' '));

});
process.stdin.resume();
process.stdin.setEncoding('utf8');