#include <bits/stdc++.h>
using namespace std;
const int inf = int(1e9) + 15;
long long time() {
  return chrono::system_clock().now().time_since_epoch().count();
}
mt19937 rnd(time());
const double PI = acos(-1);
const double PPI = 2 * PI;
const int base = (1000 * 1000 * 1000);
void solve() {
  int n;
  cin >> n;
  int odd = 0, even = 0;
  for (int i = 0; i < n; i++) {
    int it;
    cin >> it;
    if (it % 2 == 0)
      even++;
    else
      odd++;
  }
  if (n % 2 == 0 && odd == n) {
    cout << "NO\n";
    return;
  } else if (odd == 0) {
    cout << "NO\n";
    return;
  } else if (odd >= 1 && even >= 1) {
    cout << "YES\n";
    return;
  } else if (n % 2 && odd == n) {
    cout << "YES\n";
    return;
  }
  cout << "NO\n";
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    solve();
  }
}
