r=raw_input r() print' '.join(sorted(r().split(),cmp,int,1))