n = int(input()) listt = list(map(int, input().split())) listt.sort() for i in listt: print(i, end=" ")