x = []
for i in range(N):
    x.append(list(map(int, input().split())))