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