#include <bits/stdc++.h>
using namespace std;
long double asd;
long long i, l, r, o, t, c, p, w, k, m, h, n, f1, f2, f3, j, a, b, x33, y11,
    y22, ans, ans1, ans2, mn, mx, sum, x, y, kol;
int main() {
  cin.tie(0);
  cout.tie(0);
  cin >> t;
  while (t--) {
    cin >> n;
    for (i = 0; i < n; i++) {
      cin >> a;
      f2 += a;
      if (a % 2 == 0) ans = 1;
      if (a % 2 == 1) ans1 = 1;
    }
    if (f2 % 2 == 1 or (ans == 1 and ans1 == 1))
      cout << "YES"
           << "\n";
    else
      cout << "NO"
           << "\n";
    ans = ans1 = f2 = 0;
  }
  return 0;
}
