#include <bits/stdc++.h>
using namespace std;
const double pi = 3.141592653589793238;
int main() {
  int t, a, b;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int a[n];
    for (long long int i = 0; i < n; i++) cin >> a[i];
    int ct = 0, ct1 = 0, ct2 = 0;
    sort(a, a + n);
    for (long long int i = 0; i < n; i++) {
      if (a[i] % 2 == 0)
        ct1 += 1;
      else
        ct2 += 1;
    }
    int i = 0;
    while (i < (n - 1)) {
      if (a[i + 1] - a[i] == 1) {
        ct += 1;
        i += 1;
      }
      i += 1;
    }
    if (ct1 % 2 == 0 && ct2 % 2 == 0) {
      cout << "YES";
    } else {
      int e = 0;
      if (ct1 % 2 != 0) {
        if (ct2 > 0 && ct > 0) {
          if ((ct2 - 1) % 2 == 0) {
            e = 1;
            ct2 -= 1;
            ct1 -= 1;
          }
        }
      } else if (ct2 % 2 != 0) {
        if (ct1 > 0 && ct > 0) {
          if ((ct1 - 1) % 2 == 0) e = 1;
        }
      }
      if (e == 1)
        cout << "YES";
      else
        cout << "NO";
    }
    cout << endl;
  }
}
