print.apply(r=readline,r(r()).split(' ').sort(function(x,y)x-y))