# Link: http://codeforces.com/problemset/problem/116/A

# Read inputs for quiz 8
n = int(input())
x = []
for _ in range(n):
    a_i, b_i = map(int, input().split())
    x.append((a_i, b_i))

# Process inputs
# TODO


