#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, a;
    cin >> n;
    vector<int> v;
    vector<int> odd, even;
    for (int i = 0; i < n; i++) {
      cin >> a;
      v.push_back(a);
      if (a % 2 == 0)
        even.push_back(a);
      else
        odd.push_back(a);
    }
    sort(v.begin(), v.end());
    if (even.size() % 2 == 0) {
      cout << "Yes" << endl;
    } else {
      int f = 0;
      for (int i = 0; i < n - 1; i++) {
        if (v[i + 1] - v[i] == 1) {
          f = 1;
          cout << "YES" << endl;
          break;
        }
      }
      if (f == 0) cout << "NO" << endl;
    }
  }
  return 0;
}
