#include <bits/stdc++.h>
int dx4[] = {0, 0, -1, 1};
int dy4[] = {-1, 1, 0, 0};
bool valid(int r, int c, int x, int y) {
  if (x >= 1 && x <= r && y >= 1 && y <= c) return 1;
  return 0;
}
using namespace std;
int main() {
  int t;
  cin >> t;
  for (int cs = 1; cs <= t; cs++) {
    int n;
    cin >> n;
    int a[n + 2];
    int flag = 0;
    int tot = 0;
    for (int i = 1; i <= n; i++) {
      cin >> a[i];
      if (a[i] % 2 == 1)
        flag++;
      else
        tot++;
    }
    if (tot == n) {
      cout << "NO" << endl;
    } else {
      if (flag == n && flag % 2 == 0)
        cout << "NO" << endl;
      else
        cout << "YES" << endl;
    }
  }
  return 0;
}
