N = int(input())
dot = []
for i in range(N):
x, y = map(int,input( ).split(' '))
dot.append((x, y))
dot.sort()
for x, y in dot:
print(x, y)
'KDT 수업 > 백준 문풀' 카테고리의 다른 글
백준 1427 풀이 (0) | 2023.03.10 |
---|---|
백준 2920 풀이 (0) | 2023.03.10 |
백준 2750 풀이 (0) | 2023.03.10 |