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