#!/usr/bin/env python3
# NOTE: it is recommended to use this even if you don't understand the following code.

# input data
C, D, Y = map(int, input().strip().split())
M = [0] + list(map(int, input().strip().split()))
P = [0] + list(map(int, input().strip().split()))
# WARNING: M and P are 1-based!


# insert your code here


print(42)  # print the result
