local n = io.read("*n") if n % 2 == 0 then local t = {} n = math.floor(n / 2) for i = 1, n do t[i] = i * 2 end print(table.concat(t, " ")) else if n == 1 then print(1) elseif n <= 5 then print(-1) else local t = {3, 6, 2, 4} n = math.floor(n / 2) - 3 for i = 1, n do t[4 + i] = i * 2 + 6 end print(table.concat(t, " ")) end end