#include <bits/stdc++.h>
using namespace std;
void cal() {
  long long no;
  cin >> no;
  long long a[no];
  long long sum = 0, ecount = 0, ocount = 0;
  for (long long i = 0; i < no; i++) {
    cin >> a[i];
    sum += a[i];
    if (a[i] % 2 == 0) {
      ecount = 1;
    } else {
      ocount = 1;
    }
  }
  if (sum % 2 != 0) {
    cout << "YES\n";
  } else {
    if (ecount == 1 && ocount == 1) {
      cout << "YES\n";
    } else {
      cout << "NO\n";
    }
  }
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long t;
  cin >> t;
  while (t--) {
    cal();
  }
}
