#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  long long t, i, j;
  t = 1;
  cin >> t;
  while (t--) {
    map<long long, long long> mp;
    long long n;
    cin >> n;
    long long a[n];
    long long odd = 0, ev = 0;
    for (long long i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 2)
        odd++;
      else
        ev++;
      mp[a[i]] = 1;
    }
    if (odd % 2 == 0 && ev % 2 == 0) {
      cout << "YES"
           << "\n";
    } else {
      long long l = 0;
      for (long long i = 0; i < n; i++) {
        if ((mp[a[i]] == 1 && mp[a[i] - 1] == 1) ||
            (mp[a[i]] == 1 && mp[a[i] + 1] == 1)) {
          cout << "YES"
               << "\n";
          l = 1;
          break;
        }
      }
      if (l == 0)
        cout << "NO"
             << "\n";
    }
  }
  return 0;
}
