#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int t;
  cin >> t;
  for (int i = 0; i < t; i++) {
    cin >> n;
    vector<int> v(n);
    for (int i = 0; i < n; i++) cin >> v[i];
    if (n % 2 == 0) {
      int k = 0;
      int p = 0;
      for (int i = 0; i < n; i++) {
        if (v[i] % 2 == 0)
          k++;
        else
          p++;
      }
      if (k > 0 && p > 0)
        cout << "YES" << endl;
      else
        cout << "NO" << endl;
    } else {
      int k = 0;
      for (int i = 0; i < n; i++)
        if (v[i] % 2 != 0) {
          k++;
          break;
        }
      if (k > 0)
        cout << "YES" << endl;
      else
        cout << "NO" << endl;
    }
  }
}
