#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int sum = 0;
    bool odd = false, even = false;
    for (int i = 0; i < n; i++) {
      int temp;
      cin >> temp;
      if (temp & 1) {
        odd = true;
      } else {
        even = true;
      }
      sum += temp;
    }
    if (sum % 2 == 0) {
      if (odd && even) {
        cout << "YES\n";
      } else {
        cout << "NO\n";
      }
    } else {
      cout << "YES\n";
    }
  }
  return 0;
}
