#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int a[n + 1];
    for (int i = 1; i <= n; ++i) cin >> a[i];
    int o = 0, e = 0;
    for (int i = 1; i <= n; ++i) {
      if (a[i] % 2 != 0) ++o;
    }
    e = n - o;
    if (o % 2 == 1 || o != 0 && o != n)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
}
