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