let input = require('fs').readFileSync('/dev/stdin', 'utf8');

let y = input.split(" ").map(x => Number(x));
function sort(array){
  for(let i = 0; i < array.length - 1; i++){
    if(array[i] > array[i+1]){
      for(let j = 0; j < array.length -1; j++){
        if(array[j] > array[j+1]){
          let prev = array[j];
          array[j] = array[j+1];
          array[j+1] = prev;
        }
        i = -1;
      }
    }
  }
  return array.join(" ");
}

console.log(sort(y));

