#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin>>N; if(N<=2) { cout<<-1<