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