#include <bits/stdc++.h>
using namespace std;
const double pi = acos(-1);
const int INF = 1ll << 32;
int q;
int main() {
  scanf("%d", &q);
  while (q--) {
    int n;
    scanf("%d", &n);
    vector<int> v(n);
    int ev = 0, odd = 0;
    for (int i = 0; i < n; i++) {
      scanf("%d", &v[i]);
      if (v[i] % 2 == 0)
        ev++;
      else
        odd++;
    }
    if (odd == 0) {
      puts("NO");
      continue;
    }
    if (odd % 2 != 0)
      puts("YES");
    else {
      if (ev > 0)
        puts("YES");
      else
        puts("NO");
    }
  }
  return 0;
}
