Sweet Hope hosts a casino with 3 roulette tables labeled A, B, and C. At 6:00 pm, Table B had twice as much money on it as table C, which had $20 more than table A. If there was $40 on table A, how much money was there on all the tables? Let's think step by step and output the final answer after "####".
user
If table C had $20 more than table A, then table C had $20+$40=$<<20+40=60>>60
Roulette tables A and C had $60+$40=$<<60+40=100>>100
Table B had twice as much money on it as table C, meaning table B had $60*2=$<<60*2=120>>120
Together, the three roulette tables had $120+$100=$<<120+100=220>>220
#### 220
Sweet Hope hosts a casino with 3 roulette tables labeled A, B, and C. At 6:00 pm, Table B had twice as much money on it as table C, which had $20 more than table A. If there was $40 on table A, how much money was there on all the tables?
train