#include <bits/stdc++.h>
using namespace std;
long long int start_up() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  return 0;
}
long long int static r = start_up();
void solve() {
  long long int n;
  cin >> n;
  if (n % 2) {
    cout << "YES" << endl;
    for (long long int i = 1; i <= n + n; i++) {
      if (i <= n) {
        cout << (i % 2 ? (2 * i) - 1 : 2 * i) << " ";
      } else {
        cout << (i % 2 ? (2 * (i - n)) - 1 : 2 * (i - n)) << " ";
      }
    }
  } else {
    cout << "NO" << endl;
    return;
  }
}
signed main() {
  solve();
  return 0;
}
