#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
  if (b == 0) {
    return a;
  } else {
    return gcd(b, a % b);
  }
}
void sol() {
  int n;
  cin >> n;
  vector<int> arr(n);
  for (int i = 0; i < n; i++) {
    cin >> arr[i];
  }
  int odd = 0, even = 0;
  for (int i = 0; i < n; i++) {
    if (arr[i] % 2) {
      odd++;
    } else {
      even++;
    }
  }
  if (odd == 0) {
    cout << "NO" << endl;
    return;
  }
  if ((odd == n && n % 2) || (even > 0 && odd > 0)) {
    cout << "YES" << endl;
    return;
  } else {
    cout << "NO" << endl;
    return;
  }
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long ttt;
  cin >> ttt;
  while (ttt--) {
    sol();
  }
  return 0;
}
