let main = (standardInput) => {
    let asa = standardInput.split(' ');
    let a = Number.parseInt(asa[0]);
    let b = Number.parseInt(asa[1]);
    let c = Number.parseInt(asa[2]);
　　let kawaiihito=0;
　　let kawaiihito2=0;

if(a>b){
   kawaiihito=a;
   kawaiihito2=b;
   a=kawaiihito2; 
   b=kawaiihito;
}
if(b>c){
   kawaiihito=b;
   kawaiihito2=c;
   b=kawaiihito2;
   c=kawaiihito;
}
if(a>b){
    kawaiihito=a;
    kawaiihito2=b;
    a=kawaiihito2;
    b=kawaiihito;
}
console.log(a+' '+b+' '+c);
}
main(require('fs').readFileSync('/dev/stdin', 'UTF-8'));
