#include <bits/stdc++.h>
using namespace std;
const double pi = 3.14159265358979323846;
string uppercase(string s) {
  transform(s.begin(), s.end(), s.begin(), ::toupper);
  return s;
}
string lowercase(string s) {
  transform(s.begin(), s.end(), s.begin(), ::tolower);
  return s;
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int tc;
  cin >> tc;
  while (tc--) {
    int n, even = 0, odd = 0, arr[55];
    cin >> n;
    for (int i = 0; i < n; ++i) {
      cin >> arr[i];
      if (arr[i] % 2 == 1)
        odd++;
      else
        even++;
    }
    if (odd % 2 == 0 && even % 2 == 0)
      cout << "YES\n";
    else {
      bool isFound = 0;
      for (int i = 0; i < n; ++i) {
        for (int j = 0; j < n; ++j) {
          if (abs(arr[i] - arr[j]) == 1) {
            isFound = 1;
            break;
          }
        }
        if (isFound) break;
      }
      if (isFound)
        cout << "YES\n";
      else
        cout << "NO\n";
    }
  }
  return 0;
}
