#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll=long long; #include using mint=atcoder::modint998244353; ostream& operator<<(ostream& os,const mint& x){ os<>(istream& is,mint& x){ int t; is>>t; x=t; return is; } template ostream& operator<<(ostream& os,const pair& p); template istream& operator>>(istream& is,pair& p); template ostream& operator<<(ostream& os,const array& arr); template istream& operator>>(istream& is,array& arr); template ostream& operator<<(ostream& os,const vector& vec); template istream& operator>>(istream& is,vector& vec); template ostream& operator<<(ostream& os,const pair& p){ os< istream& operator>>(istream& is,pair& p){ is>>p.first>>p.second; return is; } template ostream& operator<<(ostream& os,const array& arr){ for(int i=0;i istream& operator>>(istream& is,array& arr){ for(int i=0;i>arr[i]; return is; } template ostream& operator<<(ostream& os,const vector& vec){ for(int i=0;i<(int)vec.size();i++)os< istream& operator>>(istream& is,vector& vec){ for(int i=0;i<(int)vec.size();i++)is>>vec[i]; return is; } template void input_vec(Vecs&... vs) { const auto n = get<0>(tie(vs...)).size(); for (size_t i = 0; i < n; ++i) ((cin >> vs[i]), ...); } template void output_vec(const Vecs&... vs) { const auto n = get<0>(tie(vs...)).size(); for (size_t i = 0; i < n; ++i) { bool first = true; (((cout << (exchange(first, false) ? "" : " ") << vs[i])), ...); cout << endl; } } template vector make_unique(vector vec){ ranges::sort(vec); vec.erase(unique(vec.begin(),vec.end()),vec.end()); return vec; } vector Iota(int n,int s=0){ vector res(n); iota(res.begin(),res.end(),s); return res; } vector Iotall(int n,ll s=0){ vector res(n); iota(res.begin(),res.end(),s); return res; } void YESNO(bool f){ if(f)cout<<"Yes"<; using vvl=vector>; using vvvl=vector>>; using vi=vector; using vvi=vector>; using vvvi=vector>>; vector>> minians={ {{1,2}, {2,3}, {1,5}, {2,6}, {3,7}, {7,11}, {10,11}, {14,15}, {10,14}, {4,5}, {0,4}, {4,8}, {8,12}, {12,13}, {13,9},}, { {1,2}, {2,3}, {3,4}, {1,6}, {2,7}, {7,12}, {3,8}, {8,13}, {4,9}, {9,14}, {14,19}, {18,19}, {23,24}, {18,23}, {11,12}, {10,11}, {10,5}, {5,0}, {11,16}, {15,16}, {15,20}, {20,21}, {21,22}, {22,17}, }, { {1,2}, {2,3}, {3,4}, {4,5}, {1,7}, {2,8}, {8,14}, {3,9}, {9,15}, {15,21}, {4,10}, {10,16}, {16,22}, {5,11}, {11,17}, {17,23}, {23,29}, {28,29}, {34,35}, {28,34}, {21,20}, {20,19}, {19,13}, {13,12}, {12,6}, {6,0}, {12,18}, {18,24}, {24,30}, {30,31}, {31,25}, {25,26}, {26,32}, {32,33}, {33,27}, },{ {1,2}, {2,3}, {3,4}, {4,5}, {5,6}, {1,8}, {2,9}, {9,16}, {3,10}, {10,17}, {17,24}, {4,11}, {11,18}, {18,25}, {25,32}, {5,12}, {12,19}, {19,26}, {26,33}, {6,13}, {13,20}, {20,27}, {27,34}, {34,41}, {40,41}, {47,48}, {40,47}, {32,31}, {31,30}, {30,23}, {23,22}, {22,15}, {15,14}, {14,7}, {7,0}, {14,21}, {21,28}, {28,29}, {29,36}, {36,35}, {35,42}, {42,43}, {43,44}, {44,37}, {37,38}, {38,45}, {45,46}, {46,39}, }}; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); cout<>n; if(n<=3){ cout<<-1<