#include <bits/stdc++.h>
using namespace std;
void kkk() {
  int n;
  cin >> n;
  vector<int> nums(n);
  int even = 0, odd = 0;
  for (int i = 0; i < n; i++) {
    cin >> nums[i];
    if (nums[i] % 2)
      odd++;
    else
      even++;
  }
  if (even % 2 != odd % 2)
    cout << "NO\n";
  else {
    if (even % 2 == 0) {
      cout << "YES\n";
    } else {
      int possible = 0;
      for (int i = 0; i < n; i++) {
        for (int j = i + 1; j < n; j++) {
          int cond1 = abs(nums[j] - nums[i]);
          int cond2 = abs(nums[j] - nums[i]) % 2;
          if ((cond1 == 1) && nums[i] % 2 != nums[j] % 2) {
            cout << "YES\n";
            possible = 1;
            return;
          }
        }
      }
      cout << "NO\n";
    }
  }
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    kkk();
  }
}
