#include #include using namespace std; int gg[1000100]; int main() { int T; scanf("%d",&T); while(T--) { int i,t,n; scanf("%d",&n); int sign=0; while(n--) { int x; scanf("%d",&x); if(x==0) sign++; } if(sign%2==0) cout<<"YES"<