N = int(input()) l = list(map(int, input().split())) l.sort() ans = "" for i in l: ans = ans+str(i)+" " print(ans)