var x = require('fs').readFileSync('/dev/stdin', 'utf8');
input = x.split(/ /);
a = parseInt(input[0]);
b = parseInt(input[1]);
c = parseInt(input[2]);
arr = [a, b, c];
arr.sort(function(a, b){return a- b});
console.log(arr[0]+' '+arr[1]+' '+arr[2]);

