#include <bits/stdc++.h>
using namespace std;
int main() {
  int t, n, i;
  cin >> t;
  while (t--) {
    int cEven = 0;
    cin >> n;
    int a[n];
    for (i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 2 == 0) {
        cEven++;
      }
    }
    if (cEven % 2 == 0)
      cout << "YES" << '\n';
    else {
      bool k = false;
      sort(a, a + n);
      for (i = 1; i < n; i++) {
        if (a[i] - a[i - 1] == 1) {
          k = true;
          break;
        }
      }
      if (k)
        cout << "YES" << '\n';
      else
        cout << "NO" << '\n';
    }
  }
  return 0;
}
