#include using namespace std; const int MX = 5500000; int main() { int n; cin >> n; if (n == 2) { cout << -1 << endl; return 0; } if (n % 2 == 0) { for (int i = 2; i <= n; i += 2) { cout << i << " "; } cout << endl; return 0; } if (n < 6) { cout << -1 << endl; return 0; } cout << 3 << " " << 6 << " "; for (int i = 2; i <= n; i += 2) { if (i != 6) cout << i << " "; } cout << endl; return 0; }