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