#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int t;
  cin >> t;
  while (t--) {
    long long int i, n, e = 0, o = 0;
    cin >> n;
    vector<long long int> v(n);
    for (i = 0; i < n; i++) cin >> v[i], o += v[i] % 2, e += 1 - v[i] % 2;
    if (!o)
      cout << "NO\n";
    else if (o - n)
      cout << "YES\n";
    else if (n % 2)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
}
