func_code_string: #include <bits/stdc++.h>   using namespace std;   mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());   long long pow(long long x, long long n) {     long long res = 1;     while (n) {       if (n & 1) res = (res * x);       x = (x * x);       n >>= 1;     }     return res;   }   int32_t main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     long long t;     cin >> t;     while (t--) {       long long n;       cin >> n;       long long x = n / 2;       if (x % 2) {         cout <<  NO  <<   n ;         continue;       }       cout <<  YES  <<   n ;       vector<long long> a;       for (long long i = 0; i < n; i += 2) {         a.push_back(i + 2);       }       long long c = a.size() / 2;       for (long long i = 0; i < c; i++) {         a.push_back(a[i] - 1);         a.push_back(a[x - i - 1] + 1);       }       for (auto x : a) cout << x <<    ;       cout <<   n ;     }     return 0;   }   