function main(input){
    let nums = input.split(" ").map(item=>parseInt(item));
    for(let i=0;i<2;i++){
        for(let j=0;j<2;j++){
            if(nums[j]>nums[j+1]){
                let temp=nums[j];
                nums[j] = nums[j+1];
                nums[j+1] = temp;
            }
            
        }
    }
    console.log(""+nums[0]+" "+ nums[1]+" "+nums[2]);
    
}


main(require("fs").readFileSync("/dev/stdin","utf-8"));
