program AgeSort;
var a:array[0..120]of longint;
n,i,x:integer;
j:longint;
begin
assign(input,'AgeSort.in');
assign(output,'AgeSort.out');
reset(input);
rewrite(output);
fillchar(a,sizeof(a),0);
j:=0;
while not(eof(input)) do begin
read(x);
if x>120 then continue;
inc(a[x]);
j:=j+1;
if j=50000000 then break;
end;
for i:=0 to 120 do begin
while a[i]<>0 do begin
write(i,' ');
a[i]:=a[i]-1;
end;
end;
close(input);
close(output);
end.