#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, t, n;
  cin >> t;
  while (t--) {
    cin >> n;
    int arr[n], ceven = 0, codd = 0, cdiff = 0;
    for (i = 0; i < n; i++) {
      cin >> arr[i];
      if (arr[i] % 2 == 0) {
        ceven++;
      } else {
        codd++;
      }
    }
    sort(arr, arr + n);
    for (i = 0; i < n - 1; i++) {
      if (arr[i + 1] - arr[i] == 1) {
        cdiff++;
      }
    }
    if (cdiff >= 1 || ceven % 2 == 0) {
      cout << "YES" << endl;
    } else {
      cout << "NO" << endl;
    }
  }
  return 0;
}
