#include <bits/stdc++.h>
using namespace std;
int d[100000];
int main() {
  int a, c, i, n, m, p, t;
  cin >> t;
  while (t--) {
    cin >> n;
    p = 0;
    for (i = 0; i < n; i++) cin >> d[i];
    for (i = 0; i < n; i++) {
      if (d[i] % 2 != 0) p++;
    }
    if (p == 0 || (p == n && n % 2 == 0)) {
      printf("NO\n");
    } else
      printf("YES\n");
  }
}
