{ WARNING: this is a generic template, not specific to any task } { constraints } const MAXT = 100000; { input data } var T, i : longint; N, M, K : array[0..MAXT-1] of int64; begin { uncomment the following lines if you want to read/write from files assign(input, 'input.txt'); reset(input); assign(output, 'output.txt'); rewrite(output); } readln(T); for i:=0 to T-1 do readln(N[i], M[i], K[i]); { insert your code here } for i:=0 to T-1 do writeln('NO'); { print the answer to the i-th query } end.