#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i;
  cin >> n;
  if (n % 2 == 0) {
    cout << "NO";
  } else {
    cout << "YES" << endl;
    int arr[2 * n], c1 = 1, c2 = 2;
    while (c1 < (2 * n)) {
      cout << c1 << " ";
      c1 = c1 + 3;
      if (c1 < (2 * n)) {
        cout << c1 << " ";
        c1 = c1 + 1;
      }
    }
    while (c2 < (2 * n) + 1) {
      cout << c2 << " ";
      c2 = c2 + 1;
      if (c2 < (n * 2) + 1) {
        cout << c2 << " ";
        c2 = c2 + 3;
      }
    }
  }
}
