text: #include<bits/stdc++.h>
  using namespace std;
   
  int main(){
      int t;
      cin>>t;
      while(t--){
          int n;
          cin>>n;
          int flag = 0, sum = 0;
          for(int i = 0; i < n; i++){
              int cdwt;
              cin>>cdwt;
              sum = sum + cdwt;
              if(cdwt == 1)
                  flag++;
          }
          if(sum%2 == 0){
              int div = sum/2;
              if(div%2 == 0){
                  cout<<"YES"<<endl;
              }
              else{
                  if(flag){
                      cout<<"YES"<<endl;
                  }
                  else{
                      cout<<"NO"<<endl;
                  }
              }
          }
          else{
              cout<<"NO"<<endl;
          }
      }
  }
  