const main = (standardInput) => {
    const lengthList = standardInput.split(' ');
    lengthList[0] = Number.parseInt(lengthList[0])
    lengthList[1] = Number.parseInt(lengthList[1])
    lengthList[2] = Number.parseInt(lengthList[2])
    lengthList.sort((a, b) => {
      return a > b
    })
    console.log(lengthList[0] + " " + lengthList[1] + " " + lengthList[2])
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8'));

