#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int a, sum = 0;
    int count_even = 0, count_odd = 0;
    for (int i = 0; i < n; i++) {
      cin >> a;
      if (a % 2 == 0)
        count_even++;
      else
        count_odd++;
      sum += a;
    }
    if (sum % 2) {
      cout << "YES\n";
    } else {
      if (count_even == 0 || count_odd == 0) {
        if (count_even == 0) {
          if (n % 2)
            cout << "YES\n";
          else
            cout << "NO\n";
        } else
          cout << "NO\n";
      } else
        cout << "YES\n";
    }
  }
  return 0;
}
