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