/* -*- coding: utf-8 -*- * * 1528.cc: No.1528 Not 1 - yukicoder */ #include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<iostream> #include<string> #include<vector> #include<map> #include<set> #include<stack> #include<list> #include<queue> #include<deque> #include<algorithm> #include<numeric> #include<utility> #include<complex> #include<functional> using namespace std; /* constant */ /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int n; scanf("%d", &n); if (! (n & 1)) for (int i = 2; i <= n; i += 2) printf("%d%c", i, (i < n) ? ' ' : '\n'); else if (n == 1) puts("1"); else if (n <= 5) puts("-1"); else { printf("3 6"); for (int i = 2; i <= n; i += 2) if (i != 6) printf(" %d", i); putchar('\n'); } return 0; }