
def extract_arguments(fh):
    N = int(fh.readline().strip())
    AB = []
    for _ in range(N):
        A, B = map(int, fh.readline().strip().split())
        AB.append((A, B))
    return N, AB

#import sys
#if __name__ == "__main__":
#    input_path = sys.argv[1]
#    with open(input_path, 'r') as fh:
#        N, AB = extract_arguments(fh)
#    f(N, AB)
