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