#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(0);
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    vector<long long> in(n);
    long long cnt = 0;
    for (long long i = 0; i < n; i++) {
      cin >> in[i];
      cnt += in[i] & 1;
    }
    if (cnt % 2 || (cnt % 2 == 0 && cnt && cnt != n)) {
      cout << "YES\n";
    } else {
      cout << "NO\n";
    }
  }
}
