#include <bits/stdc++.h>
using namespace std;
const int MOD = 998244353;
const double PI = 3.141592653589793;
const long long INF = 1e18 + 7;
const int nax = 200005;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int tc = 1;
  while (tc--) {
    long long n;
    cin >> n;
    if (n & 1) {
      cout << "YES\n";
      if (n == 1) {
        cout << "1 2";
        return 0;
      }
      vector<int> x, y;
      n = 2 * n;
      int turn = 1;
      while (n) {
        if (turn == 1) {
          if (n) x.emplace_back(n--);
          if (n) y.emplace_back(n--);
          turn = 2;
        } else {
          if (n) y.emplace_back(n--);
          if (n) x.emplace_back(n--);
          turn = 1;
        }
      }
      sort(x.begin(), x.end());
      sort(y.begin(), y.end());
      for (int el : y) cout << el << " ";
      for (int el : x) cout << el << " ";
    } else {
      cout << "NO";
    }
  }
  return 0;
}
