#include <bits/stdc++.h>
using namespace std;
int main() {
  int t, n;
  vector<int> a;
  vector<string> f;
  cin >> t;
  for (int i = 0; i < t; i++) {
    cin >> n;
    int s = 0;
    for (int j = 0; j < n; j++) {
      int temp;
      cin >> temp;
      a.push_back(temp);
      s += temp;
    }
    if (s % 2 == 0) {
      bool odd = false;
      bool even = false;
      for (int j = 0; j < n; j++) {
        if (a[j] % 2 != 0) {
          odd = true;
        } else {
          even = true;
        }
      }
      if (odd && even) {
        f.push_back("YES");
      } else {
        f.push_back("NO");
      }
      even = false;
      odd = false;
    } else {
      f.push_back("YES");
    }
    a.clear();
  }
  for (int i = 0; i < f.size(); i++) {
    cout << f[i] << "\n";
  }
  return 0;
}
