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