#include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     if (n % 2) {       cout <<  YES  << endl;       for (int i = 1; i <= n; i++) {         if (i % 2)           cout << 2 * i - 1 <<    ;         else           cout << 2 * i <<    ;       }       for (int i = 1; i <= n; i++) {         if (i % 2)           cout << 2 * i <<    ;         else           cout << 2 * i - 1 <<    ;       }       cout << endl;     } else       cout <<  NO  << endl;     return 0;   }   