#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5, M = 1e4 + 5, OO = 0x3f3f3f3f;
const int MOD = 1e9 + 7;
int main() {
  int tc;
  cin >> tc;
  while (tc--) {
    int n;
    cin >> n;
    int a[n];
    for (int i = 0; i < n; ++i) cin >> a[i];
    int e = 0, o = 0;
    for (int i = 0; i < n; ++i) a[i] % 2 == 0 ? e++ : o++;
    if (e % 2 == 0)
      cout << "YES\n";
    else {
      sort(a, a + n);
      bool bl = 0;
      for (int i = 1; i < n; ++i) {
        if (a[i] - a[i - 1] == 1) {
          bl = 1;
          break;
        }
      }
      cout << (bl ? "YES\n" : "NO\n");
    }
  }
  return 0;
}
