n = input()
print(' '.join(map(str,sorted(list(map(int,input().split()))))))