#include <bits/stdc++.h>
int main() {
  int i, j, t, n, a[20000], counto, counte;
  scanf("%d", &t);
  for (i = 1; i <= t; i++) {
    counto = 0, counte = 0;
    scanf("%d", &n);
    for (j = 0; j < n; j++) {
      scanf("%d", &a[j]);
      if (a[j] % 2 == 0)
        counte++;
      else
        counto++;
    }
    if (counto == n && n % 2 == 0 || counte == n)
      printf("NO");
    else
      printf("YES");
    if (i != t) printf("\n");
  }
  return 0;
}
