var input=require("fs").readFileSync("/dev/stdin","utf8");
let arr = input.split(" ");
var i, j;
for(let cnt=0;cnt<3;cnt++){
for(i=0;i<3;i++){
    if(arr[i]>arr[i+1]){
        j=arr[i]
        arr[i]=arr[i+1]
        arr[i+1]=j
    }
}
}

console.log("%d %d %d",arr[0],arr[1],arr[2]);
