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