n = list(map(int,input().split())) an = sorted(map(int,input().split())) print(an)