Joe can buy a game for $50 and sell it for $30, so he is losing $50 - $30 = $<<50-30=20>>20 each month when he buys and sells a game.

Joe starts out with $240 and he buys a game and sells a game he loses $20 per month, so it will take $240/$20 = <<240/20=12>>12 months until he is out of money.

# Answer

12
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Joe likes to play video games and he normally spends $50 a month on video games.  Joe also sells his games for $30 each once he is done playing them. If he starts with $240, how many months can he buy games at $50 and sell them at $30 before he is out of money?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
12
Joe likes to play video games and he normally spends $50 a month on video games.  Joe also sells his games for $30 each once he is done playing them. If he starts with $240, how many months can he buy games at $50 and sell them at $30 before he is out of money?
train