#include <bits/stdc++.h>
using namespace std;
void test() {
  int i, n, a, cnt = 0, c = 0;
  vector<int> v;
  cin >> n;
  for (i = 0; i < n; ++i) {
    cin >> a;
    v.push_back(a);
  }
  sort(v.begin(), v.end(), greater<int>());
  for (i = 0; i < n; ++i) {
    if (v[i] % 2) cnt++;
  }
  if (cnt % 2 == 0) {
    cout << "YES" << endl;
    return;
  }
  for (i = 0; i < n - 1; ++i) {
    if (v[i] - v[i + 1] == 1) c++;
  }
  if (c >= 1)
    cout << "YES\n";
  else
    cout << "NO" << endl;
}
int main() {
  int t;
  cin >> t;
  while (t--) test();
}
