#include <bits/stdc++.h>
using namespace std;
const int inf = 2e9 + 5;
const long long INF = 8e18;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int sum = 0;
    bool odd = 0, even = 0;
    for (int i = 0; i < n; ++i) {
      int x;
      cin >> x;
      sum += x;
      if (x & 1)
        odd = 1;
      else
        even = 1;
    }
    if ((odd && even) || (sum & 1))
      cout << "YES" << '\n';
    else
      cout << "NO" << '\n';
  }
  return 0;
}
