_ = input() sq = list(map(int,input().split())) sq.sort() sq = map(str,sq) print(" ".join(sq))