#include <bits/stdc++.h>
using namespace std;
const int MAXN = 102;
const int INF = 1e9 + 2;
int num[MAXN];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  ;
  int t;
  cin >> t;
  for (int i = 0; i < int(t); i++) {
    int n;
    cin >> n;
    int ev = 0, od = 0;
    for (int o = 0; o < int(n); o++) {
      cin >> num[o];
      if (num[o] & 1)
        od++;
      else
        ev++;
    }
    if ((od & 1) != (ev & 1)) {
      cout << "NO\n";
      continue;
    }
    if (!(od & 1) and !(ev & 1)) {
      cout << "YES\n";
      continue;
    }
    sort(num, num + n);
    bool posib = false;
    for (int j = int(1); j < int(n); j++)
      if ((num[j] - num[j - 1]) == 1) posib = true;
    if (posib)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
  return 0;
}
