#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 5;
const int N = 2e5 + 123;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  if (n & 1) {
    cout << "YES\n";
    vector<int> a, b;
    for (int i = 1; i <= 2 * n; ++i) {
      if (i & 1) {
        a.push_back(i);
      } else {
        b.push_back(i);
      }
    }
    for (int i = 1; i <= n; ++i) {
      if (i & 1) {
        cout << a[i - 1] << " ";
      } else {
        cout << b[i - 1] << " ";
      }
    }
    for (int i = 1; i <= n; ++i) {
      if (i & 1) {
        cout << b[i - 1] << " ";
      } else {
        cout << a[i - 1] << " ";
      }
    }
    cout << "\n";
  } else {
    cout << "NO\n";
  }
}
