n = int(input())
arr = list()
for _ in range(n):
arr.append(int(input()))
for i in range(n):
min_index = i
for j in range(i+1, n):
if arr[min_index] > arr[j]:
min_index = j
arr[i], arr[min_index] = arr[min_index], arr[i]
for data in arr:
print(data)