#include <bits/stdc++.h>
#pragma optimize("Ofast")
using namespace std;
using ll = long long;
const int N = 2e5 + 5;
int main() {
  ios_base::sync_with_stdio(0);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int o = 0, e = 0;
    for (int i = 0; i < n; ++i) {
      int x;
      cin >> x;
      if (x % 2)
        o++;
      else
        e++;
    }
    if (o) {
      if (o == n) {
        if (n % 2 == 0)
          cout << "NO\n";
        else
          cout << "YES\n";
      } else
        cout << "YES\n";
    } else
      cout << "NO\n";
  }
  return 0;
}
