#include <bits/stdc++.h>
using namespace std;
void setup() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  srand(time(0));
}
void solve() {
  long long n;
  cin >> n;
  long long sum = 0, kol1 = 0;
  for (long long i = 0; i < n; ++i) {
    long long a;
    cin >> a;
    sum += a;
    if (a % 2 == 1) ++kol1;
  }
  if (n % 2 == 0 && kol1 == n)
    cout << "NO\n";
  else if (kol1 != 0)
    cout << "YES\n";
  else
    cout << "NO\n";
}
signed main() {
  setup();
  long long t;
  cin >> t;
  while (t--) solve();
  ;
}
