#include <bits/stdc++.h>
using namespace std;
template <typename Arg1>
void ZZ(const char* name, Arg1&& arg1) {
  cerr << name << " = " << arg1 << "\n";
}
template <typename Arg1, typename... Args>
void ZZ(const char* names, Arg1&& arg1, Args&&... args) {
  const char* comma = strchr(names + 1, ',');
  cerr.write(names, comma - names) << " = " << arg1;
  ZZ(comma, args...);
}
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  long long testcases;
  cin >> testcases;
  for (long long TC = (1); TC < (testcases + 1); TC++) {
    long long n;
    cin >> n;
    bool odd = 0, even = 0;
    long long sum = 0;
    for (long long i = (0); i < (n); i++) {
      long long x;
      cin >> x;
      if (x & 1)
        odd = 1;
      else
        even = 1;
      sum += x;
    }
    if ((sum & 1) || (odd && (n & 1)) || (n % 2 == 0 && odd && even))
      cout << "YES";
    else
      cout << "NO";
    cout << "\n";
  }
}
