#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    long long int n, i, ans = 0, cnt1 = 0, cnt2 = 0, cnt = 0;
    cin >> n;
    long long int a[n];
    for (i = 0; i < n; i++) cin >> a[i];
    sort(a, a + n);
    for (i = 0; i < n; i++) {
      if (a[i] % 2 == 0) cnt1++;
      if (a[i] % 2 != 0) cnt2++;
    }
    if ((cnt1 % 2) == 0 && (cnt2 % 2) == 0)
      cout << "YES"
           << "\n";
    else {
      for (i = 0; i < n - 1; i++) {
        if (a[i + 1] - a[i] == 1) {
          cnt = 1;
          break;
        }
      }
      if (cnt == 1)
        cout << "YES"
             << "\n";
      else
        cout << "NO"
             << "\n";
    }
  }
  return 0;
}
