#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int i, j, n;
  cin >> n;
  if (n % 2 == 0)
    cout << "NO" << endl;
  else {
    cout << "YES" << endl;
    bool co = true;
    cout << "1 ";
    long long int num = 1;
    while (true) {
      if (co) {
        co = false;
        num = num + 3;
      } else {
        co = true;
        num = num + 1;
      }
      if (num > 2 * n) break;
      cout << num << " ";
    }
    cout << "2 ";
    num = 2;
    co = false;
    while (true) {
      if (co) {
        co = false;
        num = num + 3;
      } else {
        co = true;
        num = num + 1;
      }
      if (num > 2 * n) break;
      cout << num << " ";
    }
    cout << endl;
  }
  return 0;
}
