#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;
  for (int i = 0; i < t; i++) {
    int n;
    cin >> n;
    int a[n];
    for (int j = 0; j < n; j++) {
      cin >> a[j];
    }
    sort(a, a + n);
    int flag = 0;
    for (int j = 0; j < n - 1; j++) {
      if (a[j] != 0) {
        if (a[j + 1] - a[j] == 1) {
          flag = 1;
          break;
        }
      }
    }
    int eve = 0;
    int odd = 0;
    for (int j = 0; j < n; j++) {
      if (a[j] != 0) {
        if (a[j] % 2 == 0) {
          eve++;
        } else {
          odd++;
        }
      }
    }
    if ((eve % 2 == 0 && odd % 2 == 0) || flag == 1) {
      cout << "YES" << '\n';
    } else {
      cout << "NO" << '\n';
    }
  }
  return 0;
}
