#include <bits/stdc++.h>
using namespace std;
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;
  }
  int temp[2 * n + 1];
  int num = 1;
  for (int i = 1; i <= n; i++) {
    temp[i] = num;
    num += 3;
    i++;
    temp[i] = num;
    num++;
  }
  num = 2;
  for (int i = n + 1; i <= 2 * n; i++) {
    temp[i] = num;
    num++;
    if (i == 2 * n) {
      break;
    }
    i++;
    temp[i] = num;
    num += 3;
  }
  cout << "YES" << endl;
  for (int i = 1; i <= 2 * n; i++) {
    cout << temp[i] << " ";
  }
  cout << endl;
  return 0;
}
