#include using namespace std; typedef long long int ll; typedef pair P; typedef vector VI; typedef vector VVI; #define REP(i,n) for(ll i=0;i<(n);i++) #define ALL(v) v.begin(),v.end() constexpr ll MOD=1000000007; constexpr ll INF=2e18; int main(){ int n; cin >> n; if(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{ REP(i,(n+1)/2){ if(i==0) cout << 3; else if(i==1) cout << " " << 6; else if(i==2) cout << " " << 2; else if(i==3) cout << " " << 4; else cout << " " << i*2; } cout << endl; } return 0; }