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