#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using str = string;
using pi = pair<int, int>;
using pl = pair<ll, ll>;
using pd = pair<ld, ld>;
using vi = vector<int>;
using vb = vector<bool>;
using vl = vector<ll>;
using vd = vector<ld>;
using vs = vector<str>;
using vpi = vector<pi>;
using vpl = vector<pl>;
using vpd = vector<pd>;
const int MIN = 2e5 + 20;
const int MAX = 1e9 + 20;
map<ll, ll> m;
ll n, a, i, k, b, x, y, l, f;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  cin >> n;
  if (n % 2)
    cout << "YES\n";
  else {
    cout << "NO";
    return 0;
  }
  for (i = (1); i <= (n); i++) cout << i * 2 - i % 2 << ' ';
  for (i = (1); i <= (n); i++) cout << 2 * i - (i % 2 == 0) << ' ';
}
