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