function main(input){
    let numarray=input.split(' ').map(Number);
    numarray.sort();
    let a,b,c;
    a=numarray[0];
    b=numarray[1];
    c=numarray[2];
    console.log(a + ' ' + b + ' ' + c);
}
main(require("fs").readFileSync("/dev/stdin","utf8"));
