#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int ar[n], odd = 0, even = 0, sum = 0;
    for (int i = 0; i < n; i++) {
      cin >> ar[i];
      sum += ar[i];
      if (ar[i] & 1) {
        odd++;
      } else {
        even++;
      }
    }
    if (sum & 1) {
      cout << "YES" << endl;
    } else {
      if (even == n) {
        cout << "NO" << endl;
      } else if (even > 0 && odd > 0) {
        cout << "YES" << endl;
      } else {
        cout << "NO" << endl;
      }
    }
  }
}
