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