#include <bits/stdc++.h>
using namespace std;
const long long logN = 20;
const long long M = 1000000007;
const long long INF = 1e12;
const long long N = 100005;
void solve() {
  long long n;
  cin >> n;
  long long A[n];
  for (long long i = 0; i < n; i++) cin >> A[i];
  sort(A, A + n);
  long long o = 0, e = 0, p = 0;
  for (long long i = 0; i < n; i++) {
    if (i >= 1 and (A[i] - A[i - 1]) == 1) p++;
    if (A[i] % 2 == 0)
      e++;
    else
      o++;
  }
  bool f = 0;
  if (o % 2 == 0 and e % 2 == 0) f = 1;
  if (p >= 1) f = 1;
  if (f)
    cout << "YES"
         << "\n";
  else
    cout << "NO"
         << "\n";
  return;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long no;
  cin >> no;
  while (no--) {
    solve();
  }
  return 0;
}
