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