const input = require('fs').readFileSync('/dev/stdin', 'utf8');
const lines = input.trim().split('\n');

while (line = lines.shift()) {
  const numbers = line.split(' ');
  let sorted = numbers.sort();

  sorted.forEach((item, index) => sorted[index] = item.toString());

  const output = 
  	sorted[0] + ' ' + sorted[1] + ' ' + sorted[2];

  console.log(output);
} 
