a = input() b = input() c = list() c = b.split() c = [int(s) for s in c] c.sort() print(" ".join(map(str,c)))