#include <bits/stdc++.h>
using namespace std;
vector<int> ans;
bool used[222222];
bool bl;
int mi = -1;
int n;
int a[222222];
void no() {
  cout << "NO";
  exit(0);
}
int main() {
  cin >> n;
  if (!(n % 2)) no();
  cout << "YES\n";
  for (int i = 1; i <= n; i++) cout << i * 2 - (i % 2) << " ";
  for (int i = 1; i <= n; i++) cout << i * 2 - !(i % 2) << " ";
  return 0;
}
