#include<bits/stdc++.h>
#define endl "\n"
using namespace std ;
int main() {
    ios::sync_with_stdio(NULL) ;
    cin.tie(NULL) ;
    cout.tie(NULL) ;
    int t ;
    cin >> t ;
    while( t-- ) {
        int n, a ;
        cin >> n ;
        int sum = 0, cnt1 = 0, cnt2 = 0;
        for( int i = 0 ; i < n ; i++ ) {
            cin >> a ;
            sum += a ;
            if( a == 1 )
                cnt1++ ;
            else
                cnt2++ ;
        }
        if( sum % 2 == 1 )
            cout << "NO" << endl ;
        else {
            if( cnt2 % 2 == 0 )
                cout << "YES" << endl ;
            else {
                if( cnt1 > 0 )
                    cout << "YES" << endl ;
                else
                    cout << "NO" << endl ;
            }
        }
    }
    return 0 ;
}
