#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 100011;
const long long INF = (1 << 29) + 123;
const long long MOD = 1000000007;
const long double PI = 4 * atan((long double)1);
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t, n, x, sum;
  cin >> t;
  while (t--) {
    bool odd = 0, even = 0;
    sum = 0;
    cin >> n;
    for (int i = 0; i < n; i++) {
      cin >> x;
      sum += x;
      if (x % 2)
        odd = 1;
      else
        even = 1;
    }
    if (sum % 2 || (odd && even))
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
