'use strict';
(function(stdin) { 
  var inputs = stdin.toString();
  (function(a,b,c) {
    var result = [a,b,c].sort(function(a,b){
    if(a < b) return -1;
    if(a > b) return 1;
    return 0;
    });//????????????????????????
console.log(result.join(' '));
  }(inputs.split('\n')[0].split(' ').map(Number))); 
}(require('fs').readFileSync('/dev/stdin', 'utf8')));