#include #include #include #include int main() { int t; scanf("%d",&t); while(t--) { int n,i; scanf("%d",&n); int a[n],b[n]; for(i=0;i