#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int odd = 0, even = 0;
    for (int i = 0; i < n; i++) {
      int x;
      cin >> x;
      odd += (x & 1 ? 1 : 0);
      even += (!(x & 1) ? 1 : 0);
    }
    if (n & 1) {
      if (odd > 0) {
        cout << "YES";
      } else {
        cout << "NO";
      }
    } else {
      if (odd > 0 && odd != n) {
        cout << "YES";
      } else if (odd > 0 && odd == n) {
        cout << "NO";
      } else if (odd == 0) {
        cout << "NO";
      }
    }
    cout << "\n";
  }
}
