#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long int t;
  cin >> t;
  while (t--) {
    long long int n;
    cin >> n;
    vector<long long int> a(n);
    vector<long long int> b(101, 0);
    for (long long int i = 0; i < n; i++) cin >> a[i], b[a[i]]++;
    long long int c = 0;
    for (long long int i = 1; i < 100; i++) {
      if (b[i] > 0 && b[i + 1] > 0) c = 1;
    }
    long long int odd = 0;
    for (long long int i = 1; i < 101; i++) {
      odd += b[i];
      i++;
    }
    if ((odd % 2 == 0) || (c == 1))
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
}
