n = int(input())#输入元素个数 ns = list(map(int,input().split()))#输入元素列表 ns.sort()#对元素列表进行升序排列 print(' '.join(map(str,ns)))#对排列后的元素列表进行拼接输出