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