#include <bits/stdc++.h>
int arr[50];
using namespace std;
void fastscan(int &num) {
  bool negative = false;
  register int c;
  num = 0;
  c = getchar();
  if (c == '-') {
    negative = true;
    c = getchar();
  }
  for (; (c > 47 && c < 58); c = getchar()) {
    num = num * 10 + c - 48;
  }
  if (negative) num *= -1;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int t;
  fastscan(t);
  while (t--) {
    int n;
    fastscan(n);
    int count1 = 0, count2 = 0;
    for (int i = 0; i < n; i++) {
      int a;
      fastscan(a);
      if (a % 2 == 0) {
        count1++;
      } else {
        count2++;
      }
      arr[i] = a;
    }
    if (count1 % 2 != 0 || count2 % 2 != 0) {
      bool flag = false;
      sort(arr, arr + n);
      for (int i = 1; i < n; i++) {
        if (arr[i] - arr[i - 1] == 1) {
          flag = true;
        }
      }
      if (flag) {
        cout << "YES\n";
      } else {
        cout << "NO\n";
      }
      continue;
    }
    cout << "YES\n";
  }
}
