// NOTE: it is recommended to use this even if you don't understand the following code. #include #include #include // constraints #define MAXN 20 #define MAXM 200 // input data int N, M; int L[MAXN][MAXM]; 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(2 == scanf("%d%d", &N, &M)); for(int i = 0; i < N; i++) { for (int j = 0; j < M; j++) { assert(1 == scanf("%d", &L[i][j])); } } // insert your code here printf("%d\n", 42); // print the result return 0; }