#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, a[55], p = 0, q = 0;
    scanf("%d", &n);
    for (int i = 1; i <= n; i++) {
      scanf("%d", &a[i]);
      if (a[i] % 2 == 0)
        p++;
      else
        q++;
    }
    bool flag = 0;
    if (p % 2 == 0)
      flag = 1;
    else {
      sort(a + 1, a + n + 1);
      for (int i = 2; i <= n; i++)
        if (a[i] - a[i - 1] == 1) flag = 1;
    }
    if (flag == 0)
      puts("NO");
    else
      puts("YES");
  }
  return 0;
}
