#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t;
  cin >> t;
  while (t--) {
    long long n, i;
    cin >> n;
    long long a[n];
    for (i = 0; i < n; i++) cin >> a[i];
    long long e = 0, o = 0;
    for (i = 0; i < n; i++) {
      if (a[i] % 2 == 0)
        e++;
      else
        o++;
    }
    if (e % 2 == 0 && o % 2 == 0) {
      cout << "YES" << endl;
      continue;
    }
    sort(a, a + n);
    long long x = 0;
    for (long long i = 1; i < n; i++) {
      if (a[i] - a[i - 1] == 1) {
        x = 1;
        continue;
      }
    }
    if (x) {
      cout << "YES" << endl;
    } else
      cout << "NO" << endl;
  }
}
