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