// NOTE: it is recommended to use this even if you don't understand the following code. import java.util.*; import java.io.*; import java.lang.*; public class luckydice { public static void main(String[] args) throws FileNotFoundException, IOException { InputStream fin = System.in; OutputStream fout = System.out; // uncomment the following lines if you want to read/write from files //fin = new FileInputStream("input.txt"); //fout = new FileOutputStream("output.txt"); Scanner scn = new Scanner(fin); PrintStream prnt = new PrintStream(fout); int N = scn.nextInt(); int[] A = new int[N], B = new int[N], C = new int[N], D = new int[N]; for (int i = 0; i < N; i++) { A[i] = scn.nextInt(); B[i] = scn.nextInt(); C[i] = scn.nextInt(); D[i] = scn.nextInt(); } int W1 = 0, W2 = 0, X = 0; // insert your code here prnt.format("%d %d %d\n", W1, W2, X); // print the result fout.flush(); } }