n = int(input()) if n%2 == 0: ans = [] for i in range(1,n//2+1): ans.append(str(2*i)) print(*ans) elif n <= 5: print(-1) else: ans = [3,6] for i in range(1,n//2+1): if i != 3: ans.append(str(2*i)) print(*ans)