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