#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t;
  cin >> t;
  while (t--) {
    long long n, num, f = 0;
    vector<long long> even, odd;
    cin >> n;
    for (long long i = 0; i < n; i++) {
      cin >> num;
      if (num % 2 == 0)
        even.push_back(num);
      else
        odd.push_back(num);
    }
    if (odd.size() % 2 == 0 && even.size() % 2 == 0)
      cout << "YES" << endl;
    else {
      for (long long i = 0; i < even.size(); i++) {
        for (long long j = 0; j < odd.size(); j++) {
          if (odd[j] == even[i] + 1 || odd[j] == even[i] - 1) {
            f = 1;
            break;
          }
        }
        if (f == 1) break;
      }
      if (f == 1)
        cout << "YES" << endl;
      else
        cout << "NO" << endl;
    }
  }
}
