#include <bits/stdc++.h>
using namespace std;
string solve() {
  int n;
  cin >> n;
  int s[n];
  for (int i = 0; i < n; i++) {
    cin >> s[i];
  }
  sort(s, s + n);
  int ans = 0;
  for (int i = 1; i < n; i++) {
    if (s[i] - s[i - 1] == 1) {
      ans = 1;
    }
  }
  if (ans == 1) {
    return "YES";
  } else {
    ans = 0;
    for (int i = 0; i < n; i++) {
      if (s[i] % 2 == 0) {
        ans++;
      }
    }
    if (ans % 2 == 0) {
      return "YES";
    }
    return "NO";
  }
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    cout << solve() << "\n";
  }
}
