let x = require('fs').readFileSync('/dev/stdin', 'UTF-8');
let a = Number(x.split(' ')[0]);
let b = Number(x.split(' ')[1]);
let c = Number(x.split(' ')[2]);
let tmp;
if (a > b) {
  tmp = a;
  a = b;
  b = tmp;
}
if (b > c) {
  tmp = b;
  b = c;
  c = tmp;
}
if (a > b) {
    tmp = b;
    b = a;
    a = tmp
}
console.log(a + ' ' + b + ' ' + c);
