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