#include <bits/stdc++.h>
using namespace std;
int t, n, a;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  cin >> t;
  while (t--) {
    cin >> n;
    bool e = 0, o = 0;
    int sum = 0;
    for (int i = 0; i < n; ++i) {
      cin >> a;
      sum += a;
      if (a % 2 == 0)
        e = 1;
      else
        o = 1;
    }
    if (sum % 2 != 0 || (e && o))
      cout << "YES\n";
    else
      cout << "NO\n";
  }
  return 0;
}
