#include <bits/stdc++.h>
using namespace std;
using namespace std::chrono;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n;
  cin >> n;
  if (n % 2 == 0) {
    cout << "NO" << endl;
    return 0;
  }
  cout << "YES" << endl;
  int arr[2 * n + 5];
  for (int i = 1, j = 2 * n; i <= n; i++) {
    if (i % 2 == 1) {
      arr[i] = j;
      j--;
      arr[i + n] = j;
      j--;
    } else {
      arr[i + n] = j;
      j--;
      arr[i] = j;
      j--;
    }
  }
  for (int i = 1; i <= 2 * n; i++) {
    cout << arr[i] << " ";
  }
  cout << endl;
  return 0;
}
