#include <bits/stdc++.h>
using namespace std;
const long long N = 1e5 + 5, M = 1e9 + 7;
const float pi = acosl(-1.0);
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  srand(time(NULL));
  ;
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    long long a[n], e = 0, o = 0, p = 0;
    for (long long i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 2 == 0)
        e++;
      else
        o++;
    }
    sort(a, a + n);
    for (long long i = 0; i < n - 1; i++) {
      if (a[i + 1] - a[i] == 1) {
        i++;
        p++;
      }
    }
    if ((e % 2 != 0 || o % 2 != 0) && p == 0)
      cout << "NO";
    else if (e % 2 == 0 && o % 2 != 0)
      cout << "NO";
    else if (e % 2 != 0 && o % 2 == 0)
      cout << "NO";
    else
      cout << "YES";
    cout << "\n";
  }
  return 0;
}
