n = int(input()) if n == 1: print(1) exit() num = (n + 1) // 2 ans = [(i + 1) * 2 for i in range(num)] if ans[-1] > n: ans[-1] = ans[-2] // 2 if ans[-1] % 2 == 0 or ans[-1] == 1: print(-1) exit() print(*ans)