r=raw_input;r();print' '.join(sorted(r().split(),key=int))