Rachel has the number $1000$ in her hands. When she puts the number $x$ in her left pocket, the number changes to $x+1.$ When she puts the number $x$ in her right pocket, the number changes to $x^{-1}.$ Each minute, she flips a fair coin. If it lands heads, she puts the number into her left pocket, and if it lands tails, she puts it into her right pocket. She then takes the new number out of her pocket. If the expected value of the number in Rachel's hands after eight minutes is $E,$ compute $\left\lfloor\frac{E}{10}\right\rfloor.$

Let's think step by step and output the final answer within \boxed{}.
user