const input = require('fs').readFileSync('/dev/stdin', 'UTF-8');

const sortingThreeNumbers = input => {
  const inputArray = input.split(' ').map(val => Number(val));
  const sorter = (a, b) => a - b;
  console.log(inputArray.sort(sorter).join(' '));
};

sortingThreeNumbers(input);

