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