input() s='' for i in sorted(raw_input().split(' '),key=int): s=i+' '+s print s