#include #include #define ll long long #define eps 1e-9 #define PI 2 * acos (0.0) using namespace std; int ar[1002]; int main() { //freopen("0.in","r",stdin); //freopen("0.out","w",stdout); /* cout << fixed << setprecision(4); std::ios::sync_with_stdio(false); */ int a,b,c,d,e,x,y,z,t; cin>>t; while(t--) { cin>>z; x=y=0; for(a=1;a<=z;a++) { cin>>ar[a]; if((a%2)) x=x+ar[a]; else y=y+ar[a]; } if(x!=y) { cout<<"No"<