#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    long long a[n], c = 0, c1 = 0;
    unordered_map<long long, long long> map;
    vector<long long> eve, od;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 2 == 0) {
        c++;
        eve.push_back(a[i]);
      } else {
        c1++;
        od.push_back(a[i]);
      }
      map[a[i]]++;
    }
    if (c % 2 == 0 && c1 % 2 == 0) {
      cout << "YES\n";
    } else {
      int f = 0;
      for (int i = 0; i < od.size(); i++) {
        for (int j = 0; j < eve.size(); j++) {
          if (abs(eve[j] - od[i]) == 1) f = 1;
        }
      }
      if (f == 1)
        cout << "YES\n";
      else
        cout << "NO\n";
    }
  }
  return 0;
}
