#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f, MOD = 1e9 + 7;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> a(n);
    for (int i = 0; i < n; i++) {
      cin >> a[i];
    }
    sort((a).begin(), (a).end());
    int one = 0, odd = 0, even = 0;
    for (int i = 0; i < n; i++) {
      if (a[i] % 2)
        odd++;
      else
        even++;
      if (i > 0 && a[i] - a[i - 1] == 1) one++;
    }
    if (odd % 2 == 0 && even % 2 == 0)
      cout << "YES\n";
    else if (odd % 2 && even % 2 && one)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
  return 0;
}
