#include <bits/stdc++.h>
using namespace std;
long long const MOD = 1e9 + 7;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  int t;
  cin >> t;
  while (t--) {
    int n, i, cnt = 0, e = 0;
    cin >> n;
    int a[n];
    for (i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 2 == 1)
        cnt++;
      else
        e++;
    }
    if (cnt % 2 == 1)
      cout << "YES"
           << "\n";
    else if (cnt > 0 && cnt % 2 == 0 && e > 0)
      cout << "YES"
           << "\n";
    else
      cout << "NO"
           << "\n";
  }
}
