#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) {
    int a, evens = 0;
    cin >> a;
    short array[a];
    for (int j = 0; j < a; j++) {
      cin >> array[j];
      if (array[j] % 2 == 0) {
        evens++;
      }
    }
    if (evens % 2 == 0) {
      cout << "YES" << endl;
      continue;
    }
    bool stop = false;
    for (int j = 0; j < a; j++) {
      for (int k = j + 1; k < a; k++) {
        if (abs(array[j] - array[k]) == 1) {
          cout << "YES" << endl;
          stop = true;
        }
        if (stop == true) {
          break;
        }
      }
      if (stop == true) {
        break;
      }
    }
    if (stop == false) {
      cout << "NO" << endl;
    }
  }
}
