#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  int tc;
  cin >> tc;
  long long n;
  while (tc--) {
    cin >> n;
    long long a[n];
    long long odd = 0;
    map<long long, long long> m;
    for (int i = 0; i < n; ++i) {
      cin >> a[i];
      if (a[i] % 2) odd++;
      m[a[i]] = 1;
    }
    if (odd % 2 == 0) {
      cout << "YES\n";
      continue;
    }
    int ok = 0;
    for (int i = 0; i < n; ++i) {
      if (m[a[i] - 1] || m[a[i] + 1]) {
        ok = 1;
        cout << "YES\n";
        break;
      }
    }
    if (!ok) cout << "NO\n";
  }
  return 0;
}
