// NOTE: it is recommended to use this even if you don't understand the following code. #include #include #include // constraints #define MAXN 100000 // input data int N; int M; int T; int A[MAXN]; int B[MAXN]; int X[MAXN]; int Y[MAXN]; int main() { // uncomment the following lines if you want to read/write from files // freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout); assert(1 == scanf("%d", &T)); assert(1 == scanf("%d", &N)); for (int i = 0; i < N; i++) { assert(2 == scanf("%d%d", &A[i], &B[i])); } assert(1 == scanf("%d", &M)); for (int i = 0; i < M; i++) { assert(2 == scanf("%d%d", &X[i], &Y[i])); } // insert your code here printf("%d\n", 42); // print the result return 0; }