#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 0;
  cin >> n;
  if (n % 2) {
    cout << "YES" << endl;
    bool zawed = 0;
    vector<int> left, right;
    left.push_back(n * 2);
    left.push_back(1);
    right.push_back(n * 2 - 1);
    right.push_back(2);
    for (int i = 2; i < n; i++) {
      if (zawed) {
        left.push_back(left[i - 1] + 1);
        right.push_back(left[i] + 1);
        zawed = 0;
      } else {
        left.push_back(left[i - 1] + 3);
        right.push_back(left[i] - 1);
        zawed = 1;
      }
    }
    for (int i = 0; i < n; i++) {
      cout << left[i] << " ";
    }
    for (int i = 0; i < n; i++) {
      cout << right[i] << " ";
    }
  } else {
    cout << "NO" << endl;
  }
  return 0;
}
