input() print(sorted(list(map(int,input().split()))))