#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
int main() {
  ll t;
  cin >> t;
  for (int _ = 0; _ < t; ++_) {
    ll n;
    cin >> n;
    vector<ll> v(n);
    int odd = 0;
    for (int i = 0; i < n; ++i) {
      cin >> v[i];
      if (v[i] % 2 == 0) odd++;
    }
    if (odd % 2 == 0) {
      cout << "YES" << endl;
    } else {
      sort(v.begin(), v.end());
      bool test = false;
      for (int i = 0; i < n - 1; ++i) {
        if (v[i + 1] - v[i] == 1) {
          test = true;
          break;
        }
      }
      if (test) {
        cout << "YES" << endl;
      } else
        cout << "NO" << endl;
    }
  }
}
