#include <bits/stdc++.h>
using namespace std;
long long MOD = 1000000007;
long long power(long long x, long long n, long long mod) {
  if (n == 0) {
    return 0;
  }
  long long temp = power(x, n / 2, mod);
  if (n % 2 == 1) {
    return (x * temp * temp) % mod;
  } else {
    return (temp * temp) % mod;
  }
}
long long abs(long long a, long long b) {
  if (a > b) {
    return a - b;
  }
  return b - a;
}
int main(int argc, const char* argv[]) {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  long long n;
  cin >> n;
  if (n % 2 == 0) {
    cout << "NO" << endl;
    return 0;
  }
  cout << "YES" << endl;
  for (long long i = 1; i <= (n); i++) {
    if (i != 1) {
      cout << " ";
    }
    cout << 2 * i - 1 + (i % 2 == 0);
  }
  for (long long i = 1; i <= (n); i++) {
    if (i != 0) {
      cout << " ";
    }
    cout << 2 * i - 1 + (i % 2 == 1);
  }
  cout << endl;
  return 0;
}
