#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long int n;
  cin >> n;
  long long int ecount = n;
  vector<long long int> v;
  for (long long int j = 0; j < n; j++) {
    long long int x;
    cin >> x;
    if (x & 1) ecount--;
    v.push_back(x);
  }
  long long int flag = 0;
  if (ecount % 2 == 0) {
    cout << "YES" << '\n';
  } else {
    sort(v.begin(), v.end());
    for (long long int j = 0; j < n - 1; j++) {
      if (v[j + 1] - v[j] == 1) {
        cout << "YES" << '\n';
        flag = 1;
        break;
      }
    }
    if (flag == 0) cout << "NO" << '\n';
  }
}
int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int t;
  cin >> t;
  for (long long int T = 1; T <= t; T++) {
    solve();
  }
}
