n = int(raw_input()) l = sorted(map(int, raw_input().split())) print ' '.join(map(str,l))