(function(stdin) {
  // Define Function
  function ascendByNumber(a, b) {
    return a - b;
  }
  // Declare Variable
  const inputs  = stdin.toString().trim().split('\n');
  const cols = inputs[0].split(' ').map(Number);

  // Main Procedure
  const result = (function(a, b, c) {

    const sort = [a, b, c].sort(ascendByNumber).join(' ');

    return sort;

  }(cols[0], cols[1], cols[2]));

  // Display
  console.log(result);

}(require('fs').readFileSync('/dev/stdin', 'utf8')));