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