N=int(input()) if N==1: print(1) elif N==2 or N==3: print(-1) else: L=[str(2*(i%2+1)) for i in range(1,int(N/2)+1)] print(" ".join(L))