#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int T;
  cin >> T;
  while (T--) {
    long long int n;
    scanf("%lld", &n);
    long long int a[n];
    for (long long int i = 0; i < n; i++) {
      cin >> a[i];
    }
    long long int even = 0;
    long long int odd = 0;
    for (long long int i = 0; i < n; i++) {
      if (a[i] % 2 == 0)
        even++;
      else
        odd++;
    }
    if (even % 2 == 0 && odd % 2 == 0)
      cout << "YES" << '\n';
    else {
      long long int temp = 0;
      sort(a, a + n);
      for (long long int i = 0; i < n - 1; i++) {
        if ((a[i + 1] - a[i]) == 1) temp = 1;
      }
      if (temp == 1)
        cout << "YES" << '\n';
      else
        cout << "NO" << '\n';
    }
  }
  return 0;
}
