#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  scanf("%d", &t);
  while (t--) {
    int n;
    scanf("%d", &n);
    int arr[n];
    for (long long int i = 0; i < n; i++) {
      scanf("%d", &arr[i]);
    }
    vector<int> odd;
    vector<int> even;
    for (long long int i = 0; i < n; i++) {
      if (arr[i] % 2 == 0) {
        odd.push_back(arr[i]);
      } else
        even.push_back(arr[i]);
    }
    int sEven = even.size();
    int sOdd = odd.size();
    bool flag = false;
    if (sEven % 2 == 0 && sOdd % 2 == 0) {
      flag = true;
    } else {
      for (int i = 0; i < sEven; i++) {
        for (int j = 0; j < sOdd; j++) {
          if (even[i] == odd[j] + 1 || even[i] == odd[j] - 1) {
            flag = true;
            continue;
          }
        }
      }
    }
    if (flag)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
