#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long t = 1;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    long long a[n];
    long long ec = 0;
    long long oc = 0;
    for (long long i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 2 == 1)
        oc++;
      else
        ec++;
    }
    if (oc % 2 == 1 || (ec > 0 && oc > 0))
      cout << "YES" << '\n';
    else
      cout << "NO" << '\n';
  }
}
