#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int a[n + 1];
    for (int i = 0; i < n; i++) cin >> a[i];
    sort(a, a + n);
    int j = 0, b = 0;
    for (int i = 0; i < n; i++)
      if (a[i] & 1)
        b++;
      else
        j++;
    if ((j % 2 == 0) && (b % 2 == 0)) {
      puts("YES");
    } else {
      int an = 0;
      for (int i = 1; i < n; i++)
        if (a[i] - a[i - 1] == 1) {
          an = 1;
          break;
        }
      puts(an ? "YES" : "NO");
    }
  }
}
