function main(input){
    let numArray = (input.split(' ')).map(Number);
    numArray.sort(function compare(a,b){
        return a - b;
    });
    console.log(numArray.join(' '));
}
main(require("fs").readFileSync("/dev/stdin", "utf8"));
