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