#include <bits/stdc++.h>
using namespace std;
long long p = 1e9 + 7;
void printa(int *a, int n) {
  for (long long i = 0; i < n; i++) cout << a[i] << " ";
  cout << endl;
}
int main() {
  int tc;
  cin >> tc;
  while (tc > 0) {
    tc--;
    int n, i;
    cin >> n;
    int arr[n];
    for (i = 0; i < n; i++) {
      cin >> arr[i];
    }
    sort(arr, arr + n);
    int even = 0, odd = 0, ct = 0;
    i = 0;
    while (i < n - 1) {
      if ((arr[i + 1] - arr[i]) == 1) {
        ct++;
      };
      if (arr[i] % 2 == 0) {
        even += 1;
      } else {
        odd++;
      };
      i++;
    }
    if (arr[n - 1] % 2 == 0) {
      even++;
    } else {
      odd++;
    }
    if (odd % 2 == 0 && even % 2 == 0) {
      cout << "YES";
    } else {
      if (ct > 0 && (odd + even) % 2 == 0) {
        cout << "YES";
      } else {
        cout << "NO";
      }
    }
    cout << endl;
  }
}
