#include using namespace std; using i32 = int; using i64 = long long; #define int i64 signed main() { int n; cin >> n; if (n % 2 == 1) { cout << "Yes" << endl; for (int i = 0; i < n; i++) { cout << i + 1 << " "; } cout << endl; return 0; } if (n == 2) { cout << "Yes" << endl; cout << "1 2" << endl; return 0; } if (n == 4) { cout << "Yes" << endl; cout << "1 3 4 2" << endl; return 0; } if (n == 6) { cout << "Yes" << endl; cout << "1 3 4 5 6 2" << endl; } cout << "No" << endl; return 0; }