#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t = 1;
  cin >> t;
  while (t--) {
    long long n, cp = 0, cn = 0;
    cin >> n;
    long long a[n + 1];
    for (long long i = 1; i <= n; i++) {
      cin >> a[i];
      if (a[i] % 2)
        cn++;
      else
        cp++;
    }
    if (cn % 2 == 0) {
      cout << "YES\n";
      continue;
    }
    sort(a + 1, a + n + 1);
    long long f = 0;
    for (long long i = 1; i < n; i++) {
      if (abs(a[i] - a[i + 1]) == 1) {
        f = 1;
        break;
      }
    }
    if (f)
      cout << "YES\n";
    else {
      cout << "NO\n";
    }
  }
}
