#include <bits/stdc++.h>
using namespace std;
int main() {
  long t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int ctr = 0;
    for (int i = 0; i < n; i++) {
      long x;
      cin >> x;
      if (x % 2 != 0) {
        ctr++;
      }
    }
    if (ctr % 2 != 0) {
      cout << "YES" << endl;
    } else if (ctr != 0 && ctr < n) {
      cout << "YES" << endl;
    } else {
      cout << "NO" << endl;
    }
  }
}
