function comp(a, b) {
  return a - b;
}

function Main(input) {
  a = input.split(' ');
  for (var i = 0; i < a.length; i++) {
    a[i] = parseInt(a[i]);
  }
  a.sort(comp);
  console.log(a.join(' '));
}
/*
function debug() {
  var input = document.getElementById('id1').value;
  Main(input);
}
*/

Main(require("fs").readFileSync("/dev/stdin", "utf8"));

