#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long long int t2;
  cin >> t2;
  while (t2--) {
    long long int n;
    cin >> n;
    long long int a[n], i, odd[n], even[n], count1 = 0, count2 = 0;
    for (i = 0; i < n; i++) cin >> a[i];
    for (i = 0; i < n; i++) {
      if (a[i] % 2 == 0) {
        even[count1++] = a[i];
      } else
        odd[count2++] = a[i];
    }
    if (count1 % 2 == 0 && count2 % 2 == 0) {
      cout << "Yes\n";
      continue;
    } else if ((count1 + count2) % 2 == 1) {
      cout << "No\n";
      continue;
    } else {
      sort(a, a + n);
      for (i = 0; i < n - 1; i++) {
        if (a[i + 1] - a[i] == 1 && (a[i] + a[i + 1]) % 2 == 1) break;
      }
      if (i == n - 1) {
        cout << "No\n";
        continue;
      } else {
        cout << "Yes\n";
      }
    }
  }
}
