#include <bits/stdc++.h>
using namespace std;
int read() {
  int sum = 0, f = 1;
  char s = getchar();
  while (s < '0' or s > '9') {
    if (s == '-') f = -1;
    s = getchar();
  }
  while (s >= '0' and s <= '9') {
    sum = sum * 10 + s - '0';
    s = getchar();
  }
  return sum * f;
}
int n, t, a, b, sum, c;
int main() {
  t = read();
  while (t--) {
    sum = 0, a = 0, b = 0;
    n = read();
    for (int i = 1; i <= n; i++) {
      c = read();
      if (c % 2 == 1)
        a++;
      else
        b++;
      sum += c;
    }
    if (sum % 2 == 1) {
      cout << "YES" << endl;
      continue;
    }
    if (a >= 1 and b >= 1) {
      cout << "YES" << endl;
      continue;
    }
    cout << "NO" << endl;
  }
  return 0;
}
