#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> a(n);
    int b = 0;
    int c = 0;
    int sum = 0;
    for (int i = 0; i < n; ++i) {
      cin >> a[i];
      sum += a[i];
      if (a[i] & 1) b = 1;
      if (!(a[i] & 1)) c = 1;
    }
    if (sum & 1) {
      cout << "YES";
    } else if (b && c) {
      cout << "YES";
    } else {
      cout << "NO";
    }
    cout << endl;
  }
  return 0;
}
