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

process.stdin.on('data', function (chunk) {
  var line = chunk.split(' ');
  var a = Number(line[0]);
  var b = Number(line[1]);
  var c = Number(line[2]);
  var matome = [a,b,c].sort();


console.log(matome);
    
  
});