#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  cin >> n;
  if ((n & 1) ^ 1) {
    cout << "NO";
    return 0;
  }
  cout << "YES" << endl << 1 << ' ';
  for (int i = 1; i <= n / 2; i += 1) cout << 4 * i << ' ' << 4 * i + 1 << ' ';
  for (int i = 0; i < n / 2; i += 1)
    cout << 4 * i + 2 << ' ' << 4 * i + 3 << ' ';
  cout << 2 * n;
  return 0;
}
