#include using namespace std; #define rep(i, a, b) for (int i = a; i < b; i++) using ll = long long; int main() { int n; cin >> n; if(n == 2) { cout << "No" << endl; return 0; } deque q; int j = 0; for(int i = n - 1; i >= 0; i--) { if(j % 2) q.push_front(i + 1); else q.push_back(i + 1); j++; } cout << "Yes" << endl; for(auto x : q) cout << x << " "; cout << endl; }