Var
a,b,c:integer;
max,min:integer;
begin
readln(a,b,c);
if ((a>=b)and(a>=c)and(b<=c))or((b>=a)and(b>=c)and(a<=c)) then swap(a,b)<br> else
if ((a>=b)and(a>=c)and(c<=b))or((c>=b)and(c>=a)and(a<=b)) then swap(a,c)<br> else
if ((b>=a)and(b>=c)and(c<=a))or((c>=b)and(c>=a)and(b<=a)) then swap(b,c); writeln(a,' ',b,' ',c);<br>end.