#!/usr/bin/env python3 # NOTE: it is recommended to use this even if you don't understand the following code. # input data D, P, E = map(int, input().strip().split()) A = list(map(int, input().strip().split())) T = [None] * E ID = [None] * E for i in range(E): T[i], ID[i] = map(int, input().strip().split()) # insert your code here print(42) # print the result