#include <bits/stdc++.h>
using namespace std;
int main() {
  int t, n, i;
  cin >> t;
  while (t--) {
    cin >> n;
    int a[n], p = 0, b[200], c1 = 0, c2 = 0;
    for (i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 2 == 0) {
        c1++;
      } else {
        c2++;
      }
    }
    if (c1 % 2 == 0 && c2 % 2 == 0) {
      cout << "YES" << endl;
    } else {
      sort(a, a + n);
      for (i = 0; i < n - 1; i++) {
        if (a[i + 1] - a[i] == 1) {
          cout << "YES" << endl;
          p = -1;
          break;
        }
      }
      if (p == 0) {
        cout << "NO" << endl;
      }
    }
  }
}
