#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> a(n);
    int odd = 0;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
      if (a[i] % 2 == 1) odd++;
    }
    if (odd % 2 == 0) {
      puts("YES");
      continue;
    }
    sort(a.begin(), a.end());
    bool ans = 0;
    for (int i = 1; i < n; i++) {
      if (a[i] == a[i - 1] + 1) {
        ans = 1;
        break;
      }
    }
    if (ans)
      puts("YES");
    else
      puts("NO");
  }
}
