#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x = 1, y = 2;
  cin >> n;
  if (n % 2 == 0)
    cout << "NO" << endl;
  else {
    cout << "YES" << endl;
    for (int j = 1;; ++j) {
      cout << x << " ";
      if (x % 2 == 1)
        x = x + 3;
      else
        ++x;
      if (x > 2 * n) break;
    }
    for (int j = 1;; ++j) {
      cout << y << " ";
      if (y % 2 == 1)
        y = y + 3;
      else
        ++y;
      if (y > 2 * n) break;
    }
    cout << "\n";
  }
}
