N = int(input()) A, B = [list(i) for i in zip(*[list(map(int, input().split())) for _ in range(N)])] print(0)