#include <bits/stdc++.h>
using namespace std;
long long mpow(long long x, long long y, long long m) {
  if (y == 0) return 1;
  if (y & 1)
    return (x % m * mpow(x, y - 1, m) % m) % m;
  else {
    long long temp = mpow(x, y / 2, m) % m;
    return (temp * temp) % m;
  }
}
long long power(long long x, long long y) {
  if (y == 0) return 1;
  if (y & 1)
    return (x * power(x, y - 1));
  else {
    long long temp = power(x, y / 2);
    return (temp * temp);
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int arr[n];
    map<int, int> m;
    int co = 0, ce = 0;
    for (int i = 0; i < n; i++) {
      cin >> arr[i];
      if (arr[i] & 1)
        co++;
      else
        ce++;
      m[arr[i]]++;
    }
    if (co % 2 == 0 && ce % 2 == 0) {
      cout << "YES" << '\n';
      continue;
    }
    if ((co % 2 != 0 && ce % 2 == 0) || (co % 2 == 0 && ce % 2 != 0)) {
      cout << "NO" << '\n';
      continue;
    }
    sort(arr, arr + n);
    int flag = 0;
    for (int i = 0; i < n; i++) {
      if (m[arr[i] - 1] != 0 || m[arr[i] + 1] != 0) {
        flag = 1;
        break;
      }
    }
    if (flag)
      cout << "YES" << '\n';
    else
      cout << "NO" << '\n';
  }
}
