N = int(input()) ans = list(range(2, N+1, 2)) if N % 2 == 0: print(*ans) elif N >= 7: print(*ans, ans[-1] //2) else: print(-1)