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