#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int t;
  cin >> t;
  for (int w = 0; w < t; w++) {
    int n;
    cin >> n;
    int no = 0, ne = 0;
    for (int i = 0; i < n; i++) {
      int x;
      cin >> x;
      if (x % 2 == 0)
        ne += 1;
      else
        no += 1;
    }
    if (no == 0)
      cout << "NO" << endl;
    else if (ne == 0) {
      if (n % 2 == 0)
        cout << "NO" << endl;
      else
        cout << "YES" << endl;
    } else
      cout << "YES" << endl;
  }
}
