#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  long long int q;
  cin >> q;
  while (q--) {
    long long int n;
    cin >> n;
    long long int a[n];
    for (long long int i = 0; i < n; i++) cin >> a[i];
    sort(a, a + n);
    long long int e = 0;
    long long int o = 0;
    for (long long int i = 0; i < n; i++) {
      if (a[i] % 2)
        o++;
      else
        e++;
    }
    if (e % 2 == 0 && o % 2 == 0) {
      cout << "YES"
           << "\n";
    } else {
      long long int check = 0;
      for (long long int i = 0; i < n - 1; i++) {
        if (a[i + 1] - a[i] == 1) {
          cout << "YES"
               << "\n";
          check = 1;
          break;
        }
      }
      if (check == 0)
        cout << "NO"
             << "\n";
    }
  }
  return 0;
}
