#include <bits/stdc++.h>
using namespace std;
signed int main() {
  long long int n, a, q;
  cin >> q;
  vector<int> v;
  for (long long int i = 0; i < q; i++) {
    cin >> n;
    int sum = 0, odd = 0, even = 0;
    for (long long int j = 0; j < n; j++) {
      cin >> a;
      if (a % 2 == 0) even++;
      if (a % 2 == 1) odd++;
      sum += a;
    }
    if ((odd % 2 == 0 && (even > 0 && odd > 0)) || (sum % 2 == 1))
      v.push_back(1);
    else
      v.push_back(0);
  }
  for (long long int i = 0; i < q; i++) {
    if (v[i] == 1)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
}
