#include <bits/stdc++.h>
using namespace std;
int main() {
  int q;
  cin >> q;
  while (q--) {
    int n;
    cin >> n;
    bool only_odd = true;
    bool is_odd = false;
    for (int i = (0); i < (n); i++) {
      int t;
      cin >> t;
      if (t % 2 == 0)
        only_odd = false;
      else
        is_odd = true;
    }
    if (only_odd && n % 2 == 0 || !is_odd) {
      cout << "NO" << endl;
    } else {
      cout << "YES" << endl;
    }
  }
  return 0;
}
