__author__ = 'Yaicky'
while True:
    try:
        n = input()
        nums = []
        nums = map(int, raw_input().strip().split(' '))
        nums.sort()
        for i in nums:
            print i,

    except:
        break
689fae4185547a12af035c96695b84c4064f2561
__author__ = 'Yaicky'
while True:
    try:
        n = input()
        nums = []
        nums = map(int, raw_input().strip().split(' '))
        nums.sort()
        for i in nums:
            print i,

    except:
        break