#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> arr(n);
    int odds = 0, evens = 0;
    for (int i = 0; i < n; i++) {
      cin >> arr[i];
      if (arr[i] % 2 == 0) {
        evens += 1;
      } else {
        odds += 1;
      }
    }
    sort(arr.begin(), arr.end());
    if (odds % 2 == 0 && evens % 2 == 0) {
      cout << "YES"
           << "\n";
    } else {
      for (int i = 1; i < n; i++) {
        if (arr[i] == arr[i - 1] + 1) {
          odds -= 1;
          evens -= 1;
          i = i + 1;
        }
        if (odds % 2 == 0 && evens % 2 == 0) {
          cout << "YES"
               << "\n";
          break;
        }
      }
      if (odds % 2 != 0 || evens % 2 != 0) {
        cout << "NO"
             << "\n";
      }
    }
  }
  return 0;
}
