#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long long int n;
  cin >> n;
  if (n % 2 == 0)
    cout << "NO" << endl;
  else {
    cout << "YES" << endl;
    unsigned long long int a[2 * n];
    for (unsigned long long int i = 0; i < 2 * n; i += 2) {
      a[i] = i + 1;
    }
    unsigned long long int t = 2;
    for (unsigned long long int i = n; i < 2 * n; i += 2) {
      a[i] = t;
      t += 2;
    }
    unsigned long long int p = a[2 * n - 1] + 2;
    for (unsigned long long int i = 1; i < n; i += 2) {
      a[i] = p;
      p += 2;
    }
    for (unsigned long long int i = 0; i < 2 * n; i++) {
      cout << a[i] << " ";
    }
  }
  return 0;
}
