#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t;
  cin >> t;
  int n;
  while (t--) {
    cin >> n;
    int arr[n];
    for (int i = 0; i < n; i++) {
      cin >> arr[i];
    }
    int odd = 0, even = 0;
    for (int i = 0; i < n; i++) {
      if (arr[i] & 1)
        odd++;
      else
        even++;
      if (odd > 0 && even > 0) {
        cout << "YES\n";
        goto ed;
      }
    }
    if (odd == n && (n & 1)) {
      cout << "YES\n";
    } else
      cout << "NO\n";
  ed:
    continue;
  }
  return 0;
}
