#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
void solve() {
  int n;
  cin >> n;
  bool chet = false, nech = false;
  for (int i = 0; i < n; ++i) {
    int h;
    cin >> h;
    if (h % 2 == 0)
      chet = true;
    else
      nech = true;
  }
  if (nech == false) {
    cout << "NO\n";
    return;
  }
  if (chet == true || n % 2 != 0) {
    cout << "YES\n";
    return;
  }
  cout << "NO\n";
  return;
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t;
  cin >> t;
  while (t--) solve();
}
