a = int(input())
b = list(map(int, input().split()))
b.sort()
b = str(b)
b = b.replace(',', '')
print(b[1:-1])

f83795d7ad48419502e098ff4b76efed37de487a
<mask token>

<mask token>
b.sort()
<mask token>
print(b[1:-1])

a = int(input())
b = list(map(int, input().split()))
b.sort()
b = str(b)
b = b.replace(',', '')
print(b[1:-1])
