n = int(input())
nums = list(map(int, input().split()))
for x in sorted(nums):
    print(x, end=" ")