#include <bits/stdc++.h>
using namespace std;
vector<long long> adj[150025];
int le[2010];
char gr[110][110];
char gr1[110][110];
int dx[] = {1, -1, 0, 0};
int dy[] = {0, 0, 1, -1};
bool vi[55][55], vi1[55][55];
char con[55][55];
string s1, s2;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t;
  cin >> t;
  while (t--) {
    long long n, x = 0, o = 0, e = 0;
    cin >> n;
    vector<int> v, v1;
    for (int i = 0; i < n; i++) {
      long long a;
      cin >> a;
      v.push_back(a);
    }
    sort(v.begin(), v.end());
    for (int i = 0; i < v.size(); i++) {
      if (v[i] % 2 == 0)
        e++;
      else
        o++;
    }
    bool A = false;
    if (e % 2 == 0 && o % 2 == 0) {
      cout << "YES"
           << "\n";
      ;
    } else if (e % 2 == 1 && o % 2 == 1) {
      for (int i = 0; i < v.size() - 1; i++) {
        if (v[i] + 1 == v[i + 1]) A = true;
      }
      if (A == true) {
        cout << "YES"
             << "\n";
        ;
      } else {
        cout << "NO"
             << "\n";
        ;
      }
    }
  }
}
