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