#!/usr/bin/env python3

N = int(input())
A = list(map(int, input().split()))
B = list(map(int, input().split()))

assert len(A) == N
assert len(B) == N

def solve():
    # TODO: write solution here
    return 0

print(solve())