#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> odd;
    vector<int> even;
    while (n--) {
      int s;
      cin >> s;
      if (s % 2 == 0)
        even.push_back(s);
      else
        odd.push_back(s);
    }
    if (even.size() % 2 == 0) {
      cout << "YES" << endl;
      continue;
    }
    int l = min(even.size(), odd.size());
    bool found = false;
    for (int i = 0; i < even.size(); i++) {
      for (int j = 0; j < odd.size(); j++) {
        if (even[i] % 2 == odd[j] % 2 || abs(even[i] - odd[j]) == 1) {
          found = true;
          break;
        }
      }
    }
    if (found)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
}
