#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t, test = 1, n;
  cin >> t;
  while (test <= t) {
    cin >> n;
    long long* arr = new long long[n];
    for (long long i = 0; i < n; i++) {
      cin >> arr[i];
    }
    sort(arr, arr + n);
    long long odd_cnt = 0, even_cnt = 0;
    for (long long i = 0; i < n; i++) {
      if (arr[i] % 2)
        odd_cnt++;
      else
        even_cnt++;
    }
    if (odd_cnt % 2 == 0 && even_cnt % 2 == 0) {
      cout << "YES\n";
    } else {
      bool res = false;
      for (long long i = 0; i < n - 1; i++) {
        if (arr[i + 1] - arr[i] == 1) {
          res = true;
          break;
        }
      }
      if (res)
        cout << "YES\n";
      else
        cout << "NO\n";
    }
    test++;
  }
  return 0;
}
