#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    long long e = 0, o = 0;
    for (long long i = 0; i < n; i++) {
      long long temp;
      cin >> temp;
      if (temp % 2 == 0)
        e++;
      else
        o++;
    }
    if ((o % 2 == 0 && e == 0) || (e >= 0 && o == 0))
      cout << "NO" << '\n';
    else
      cout << "YES" << '\n';
  }
  return 0;
}
