#include <bits/stdc++.h>
using namespace std;
int n, a[2222], t, p, k, s;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  cin >> t;
  while (t--) {
    cin >> n;
    p = 0;
    k = 0;
    s = 0;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
      s += a[i];
      if (a[i] % 2 != 0)
        k = 1;
      else
        p = 1;
    }
    if (s % 2 != 0)
      cout << "YES"
           << "\n";
    else if (k == 1 && p == 1)
      cout << "YES"
           << "\n";
    else
      cout << "NO"
           << "\n";
  }
}
