#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
void err(istream_iterator<string> it) {}
template <typename T, typename... Args>
void err(istream_iterator<string> it, T a, Args... args) {
  cerr << *it << " = " << a << '\n';
  err(++it, args...);
}
long long MOD = 1000000009;
void solve() {
  int n;
  cin >> n;
  vector<int> v(n);
  int cnt1 = 0, cnt2 = 0;
  for (int i = 0; i < (n); i++) {
    cin >> v[i];
    if (v[i] % 2 == 0)
      cnt1++;
    else
      cnt2++;
  }
  if (cnt1 % 2 == 0 && cnt2 % 2 == 0) {
    cout << "YES" << '\n';
    return;
  } else {
    sort((v).begin(), (v).end());
    for (int i = 1; i < n; i++) {
      if (v[i] - v[i - 1] == 1) {
        cnt1--;
        cnt2--;
        if (cnt1 % 2 == 0 && cnt2 % 2 == 0) {
          cout << "YES" << '\n';
          return;
        }
      }
    }
    cout << "NO" << '\n';
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  for (int i = 1; i <= t; i++) {
    solve();
  }
}
