func_code_string: #include <bits/stdc++.h>   using namespace std;   void solve() {     long long int n, i;     cin >> n;     vector<long long int> a(n), b, c;     for (i = 0; i < n; i++) cin >> a[i];     sort(a.begin(), a.end());     for (i = 0; i < n; i++) {       if (a[i] % 2 == 0)         b.push_back(a[i]);       else         c.push_back(a[i]);     }     long long int s = b.size(), f = c.size();     long long int check = 0, j;     if (s % 2 == 0 && f % 2 == 0)       cout <<  YES  << endl;     else if (s % 2 != 0 && f % 2 != 0) {       for (i = 0; i < b.size(); i++) {         for (j = 0; j < c.size(); j++) {           if (abs(b[i] - c[j]) == 1) {             check = 1;             break;           }         }         if (check == 1) break;       }       if (check == 1)         cout <<  YES  << endl;       else         cout <<  NO  << endl;     } else {       cout <<  NO  << endl;     }   }   int main() {     long long int t;     cin >> t;     while (t--) {       solve();     }     return 0;   }   