#include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);     ;     long long int n;     cin >> n;     if (n % 2 == 0)       cout <<  NO  << endl;     else {       cout <<  YES  << endl;       long long int b[(2 * n) + 1];       b[1] = 1;       b[2 * n] = 2 * n;       long long int i = n + 1;       long long int j = 2;       long long int k = 2;       long long int flag = 1;       while (k < 2 * n) {         if (flag == 1) {           b[i] = k;           b[i + 1] = k + 1;           k = k + 2;           i = i + 2;           flag = 0;         } else {           b[j] = k;           b[j + 1] = k + 1;           k = k + 2;           j = j + 2;           flag = 1;         }       }       for (long long int i = 1; i <= 2 * n; i++) cout << b[i] <<    ;     }   }   