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