// WARNING: this is a generic template, not specific to any task import java.util.*; import java.io.*; import java.lang.*; public class gridtoll { 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 T = scn.nextInt(); long[] N = new long[T], M = new long[T], K = new long[T]; for (int i = 0; i < T; i++) { N[i] = scn.nextLong(); M[i] = scn.nextLong(); K[i] = scn.nextLong(); } // insert your code here for (int i = 0; i < T; i++) prnt.println("NO"); // print the answer to the i-th query fout.flush(); } }