var x = require('fs').readFileSync('/dev/stdin', 'utf8');

var array = (x.split(" ")).map(Number);

var sortedArray = array.sort(
    function(a,b){
        return a - b;
    }
);

console.log(sortedArray.join(" "));
