#include <bits/stdc++.h>
using namespace std;
long long int x[1000007], y[1000007], z[1000007], n;
string s, S;
vector<long long int> v;
int main() {
  {
    long long int a = 0, b = 0, c = 0, d, e, f, g, i, j, k, l, m, p, q, r, u, w,
                  t, tc, in, mod, loc, diff, val, sz, lo, hi, mid,
                  mn = 2134567891, mx = 0, sum = 0, ans = 0;
    cin >> t;
    while (t--) {
      cin >> n;
      b = c = 0;
      for (i = 0; i < n; i++) {
        cin >> a;
        if (a % 2 == 1)
          b = 1;
        else
          c = 1;
      }
      if ((b && c) || (n % 2 == 1 && b))
        cout << "YES\n";
      else
        cout << "NO\n";
    }
  }
  return 0;
}
