#include #include #include using namespace std; int main(){ int N; cin >> N; int sz = (N + 1) / 2; int t = 2; if(N == 1 || N == 2){ cout << 1 << endl; } else if(N == 3){ cout << -1 << endl; } else if(N == 4){ cout << 2 << ' ' << 4 << endl; } else if(N == 5){ cout << -1 << endl; } else{ for(int i = 0; i < sz; i++){ if(i == 0) cout << 3 << ' '; else if(i == 1) cout << 6 << ' '; else{ if(t == 6) t += 2; cout << t << ' '; t += 2; } } cout << endl; } }