#include <bits/stdc++.h>
const int maxx = 1e5 + 7;
const int maxn = 1e9 + 1;
using namespace std;
int t;
int n;
int a[maxx];
int main() {
  scanf("%d", &t);
  while (t--) {
    scanf("%d", &n);
    int flag1 = 0, flag2 = 0;
    for (int i = 0; i < n; i++) {
      scanf("%d", &a[i]);
      if (a[i] % 2 == 0)
        flag1 = 1;
      else
        flag2 = 1;
    }
    if (flag1 && flag2)
      cout << "YES" << endl;
    else if (flag2) {
      if (n % 2 == 1)
        cout << "YES" << endl;
      else
        cout << "NO" << endl;
    } else
      cout << "NO" << endl;
  }
  return 0;
}
