#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> a(n);
    int pares = 0, impares = 0;
    for (int i = 0; i < n; ++i) {
      cin >> a[i];
      if (a[i] % 2 == 0) {
        pares++;
      } else {
        impares++;
      }
    }
    sort(a.begin(), a.end());
    bool f = false;
    for (int i = 0; i + 1 < n; ++i) {
      if (a[i + 1] - a[i] == 1) {
        f = true;
      }
    }
    if (pares % 2 == 0 || f == true) {
      cout << "YES\n";
    } else {
      cout << "NO\n";
    }
  }
}
