int @tt;while(tt--){ll@N;string@X[N],@Y[N];int ln=-1,pi=-1;rep(i,N){if(X[i]=="a"){if(Y[i].find('a')!=string::npos){wt("Yes");goto LABEL;}else{if(ln