import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) { /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ Scanner in=new Scanner(System.in); int q=in.nextInt(); int i,j,c,n,a1,a2,b1,b2; while(q>0) { c=0; n=in.nextInt(); int ar[][]=new int[2][n]; for(i=0;i