#include <bits/stdc++.h>
using namespace std;
int a[501102];
int ans, cnt, sum, d;
void solve() {
  ans = 0;
  cnt = 0;
  sum = 0;
  d = 0;
  int n;
  cin >> n;
  for (int i = 1; n >= i; i++) {
    cin >> a[i];
    if (a[i] % 2 == 1) {
      ans++;
      if (a[i] * n % 2 == 1) d = 1;
    } else
      cnt++;
    sum += a[i];
  }
  if (ans >= cnt && ans != n || sum % 2 == 1 || d != 0 ||
      ans != 0 && cnt != 0) {
    cout << "YES" << endl;
    return;
  }
  cout << "NO" << endl;
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    solve();
  }
  return 0;
}
