#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int i = 1;
  int j = 1;
  int k = 0;
  vector<int> circle = {};
  cin >> n;
  if (n % 2 == 0) {
    cout << "NO";
  } else {
    for (i == 1; i < (2 * n + 1); i++) {
      if ((i % 4) == 0 or (i % 4) == 1) {
        circle.push_back(i);
      }
    }
    for (j == 1; j < (2 * n + 1); j++) {
      if ((j % 4) == 2 or (j % 4) == 3) {
        circle.push_back(j);
      }
    }
    cout << "YES" << endl;
    for (k == 0; k < 2 * n; k++) {
      cout << circle[k] << " ";
    }
  }
}
