#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> l;
    int d0 = 0, d1 = 0, p = 0;
    for (int i = 0; i < n; i++) {
      int _i;
      cin >> _i;
      _i % 2 == 0 ? d0++ : d1++;
      l.push_back(_i);
    }
    sort(l.begin(), l.end());
    int a = l[0], b = l[1];
    if (abs(a - b) == 1) p++;
    for (int i = 2; i < n; i++) {
      a = b;
      b = l[i];
      if (abs(a - b) == 1) p++;
    }
    while (p > 0 && (d0 % 2 == 1 || d1 % 2 == 1)) {
      p--;
      d0--;
      d1--;
    }
    if (d0 % 2 == 0 && d1 % 2 == 0)
      cout << "YES";
    else
      cout << "NO";
    cout << "\n";
  }
}
