#include <bits/stdc++.h>
using namespace std;
int main() {
  long long i, j, k;
  long long n;
  cin >> n;
  if (n % 2 == 0) {
    cout << "NO" << '\n';
    return 0;
  }
  cout << "YES" << '\n';
  vector<long long> ans(2 * n);
  long long j1 = 1, j2 = n + 2;
  for (i = (0); i < (n); i++) {
    if (i % 2 == 0) {
      ans[i] = j1;
      ans[i + n] = j1 + 1;
      j1 += 2;
    } else {
      ans[i] = j2 + 1;
      ans[i + n] = j2;
      j2 += 2;
    }
  }
  for (i = (0); i < (2 * n); i++) cout << ans[i] << " ";
  cout << '\n';
  return 0;
}
