#include <bits/stdc++.h>
using namespace std;
int t;
int main() {
  cin >> t;
  while (t--) {
    int n, nrp = 0, nri = 0;
    cin >> n;
    while (n--) {
      int x;
      cin >> x;
      if (x % 2)
        nri++;
      else
        nrp++;
    }
    if (nrp == 0)
      if (nri % 2)
        cout << "YES\n";
      else
        cout << "NO\n";
    else if (nri)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
  return 0;
}
