#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int A[2] = {0, 0};
    int x;
    for (int i = 0; i < n; i++) {
      cin >> x;
      A[x % 2] += 1;
    }
    if (A[1] == 0 || A[1] == n && n % 2 == 0)
      cout << "NO\n";
    else
      cout << "YES\n";
  }
}
