R=raw_input R() R(" ".join(sorted(R().split(),key=int)))