#include <bits/stdc++.h>
using namespace std;
const int maxn = 4e5 + 10;
int n, m;
int a;
int num[maxn];
int main() {
  cin >> n;
  int maxx = 2 * n, minn = 1;
  for (int i = 1; i <= n; i++) {
    if (i % 2 == 0) {
      num[i] = maxx;
      num[i + n] = maxx - 1;
      maxx -= 2;
    } else {
      num[i] = minn;
      num[i + n] = minn + 1;
      minn += 2;
    }
  }
  for (int i = 2 * n + 1; i <= 3 * n; i++) {
    num[i] = num[i - 2 * n];
  }
  int flag = 0;
  for (int i = 1; i <= 2 * n; i++) {
    if (i % 2 == 1) {
      if (num[i] != num[i + n] - 1) {
        cout << "NO" << endl;
        flag = 1;
        return 0;
      }
    } else {
      if (num[i] != num[i + n] + 1) {
        cout << "NO" << endl;
        flag = 1;
        return 0;
      }
    }
  }
  cout << "YES" << endl;
  for (int i = 1; i <= 2 * n; i++) {
    cout << num[i] << " ";
  }
  cout << endl;
  return 0;
}
