#include <bits/stdc++.h>
using namespace std;
const int N = 100;
int inf = 1e9 + 9;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  if (n % 2 == 0) {
    cout << "NO";
    return 0;
  }
  cout << "YES\n";
  for (int i = 1; i <= n; i++) {
    if (i % 2) {
      cout << i * 2 - 1;
    } else {
      cout << i * 2;
    }
    cout << " ";
  }
  for (int i = 1; i <= n; i++) {
    if (i % 2) {
      cout << i * 2;
    } else {
      cout << i * 2 - 1;
    }
    cout << " ";
  }
}
