input() l=map(int,raw_input().split()) l.sort() for i in l:print i,