#include using namespace std; const int mod=1e9+7; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin>>N; if(N<6){ if(N==4){ cout<<"2 4\n"; }else{ cout<<"-1\n"; } return 0; } cout<<"3 6 2"; for(int i=0,t=4;i<(N+1)/2-3;i+=1,t+=2){ if(t==6)t+=2; cout<<' '<