func_code_string: #include <bits/stdc++.h>   const int long long N = 10e8 + 7;   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     int t;     cin >> t;     while (t--) {       int n;       cin >> n;       int arr[n];       vector<int> odd, even;       for (int i = 0; i < n; i++) {         cin >> arr[i];         if (arr[i] % 2 == 0)           even.push_back(arr[i]);         else           odd.push_back(arr[i]);       }       int p = int(odd.size()), q = even.size();       if (p % 2 == 0 && q % 2 == 0) {         cout <<  YES  <<   n ;         continue;       }       bool flag = 0;       for (int i = 0; i < p; i++) {         for (int j = 0; j < q; j++) {           if (int(abs(even[j] - odd[i])) == 1) flag = 1;         }         if (flag) break;       }       if (flag)         cout <<  YES  <<   n ;       else         cout <<  NO  <<   n ;     }   }   