#24444: python 解答 AC


ianchen611@gmail.com (揚)


#a104: 排序 AC
try:
    while (True):
        a=input()
        a=list (map(int,input().split()))
        a.sort()
        b=len(a)
        for i in a:
            print(i,end="")
            b=b-1
            if b>0:
                print(" ",end="")
        print("")
except EOFError:
    pass