Xonathan Jue goes to the casino with exactly $1000. Each week, he has a $\frac{1}{3}$ chance of breaking even and a $\frac{2}{3}$ chance of losing $500. Evaluate the expected amount of weeks before he loses everything.

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