input();a=map(int,raw_input().split());a.sort() for x in a:print x,