#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, o = 0, e = 0;
    cin >> n;
    vector<int> a(n);
    for (auto &i : a) {
      cin >> i;
      if (i & 1)
        o++;
      else
        e++;
    }
    if (o % 2 + e % 2 == 1)
      cout << "NO\n";
    else if (o % 2 + e % 2 == 0)
      cout << "YES\n";
    else {
      int f = 0;
      for (int i = 0; i < n; i++) {
        for (int j = i + 1; j < n; j++) {
          if (abs(a[i] - a[j]) == 1) {
            f = 1;
            break;
          }
        }
      }
      if (f)
        cout << "YES\n";
      else
        cout << "NO\n";
    }
  }
  return 0;
}
