# 2022-10-17
# week3 - 재귀함수와 정렬. 수 정렬하기
# https://www.acmicpc.net/problem/2750
# 소요시간 : 16:42 ~ 16:43 (1m)

import sys

input = sys.stdin.readline

N = int(input())

data = [int(input()) for _ in range(N)]

data.sort()

for d in data:
    print(d)

455ffd2e33b83df55cd837cd004ddff7805a87b4
<mask token>

<mask token>
data.sort()
for d in data:
    print(d)

<mask token>
input = sys.stdin.readline
N = int(input())
data = [int(input()) for _ in range(N)]
data.sort()
for d in data:
    print(d)

import sys
input = sys.stdin.readline
N = int(input())
data = [int(input()) for _ in range(N)]
data.sort()
for d in data:
    print(d)

# 2022-10-17
# week3 - 재귀함수와 정렬. 수 정렬하기
# https://www.acmicpc.net/problem/2750
# 소요시간 : 16:42 ~ 16:43 (1m)

import sys

input = sys.stdin.readline

N = int(input())

data = [int(input()) for _ in range(N)]

data.sort()

for d in data:
    print(d)
