#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int s = 0, w = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') w = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') s = s * 10 + ch - '0', ch = getchar();
  return s * w;
}
int a[2010];
int main() {
  int T = read();
  while (T--) {
    int ji = 0, ou = 0;
    int n = read();
    for (int i = 1; i <= n; i++) {
      a[i] = read();
      if (a[i] & 1)
        ji++;
      else
        ou++;
    }
    if (ou == n || (ji == n && ji % 2 == 0))
      printf("NO\n");
    else if (ji == n && (ji & 1))
      printf("YES\n");
    else
      printf("YES\n");
  }
  return 0;
}
