#include <bits/stdc++.h>
using namespace std;
const double pie = 2 * acos(0.0);
const long long mxl = 1000000007;
template <class T>
inline void sarray(T* st, T* nd) {
  while (st < nd) cin >> *st++;
}
template <class T>
inline void parray(T* st, T* nd) {
  while (st < nd) cout << *st++ << endl;
}
int main() {
  int t;
  scanf("%d", &t);
  while (t--) {
    int n;
    scanf("%d", &n);
    int ar[n];
    int odd = 0;
    int even = 0;
    int sum = 0;
    for (int i = 0; i < n; i++) {
      scanf("%d", &ar[i]);
      sum += ar[i];
      if (ar[i] % 2) {
        odd++;
      } else {
        even++;
      }
    }
    if (sum % 2 || (odd > 0 && even > 0)) {
      printf("YES");
      printf("\n");
    } else {
      printf("NO");
      printf("\n");
    }
  }
  return 0;
}
