There was some money in the cookie jar. Doris spent $6 from the cookie jar. Martha spent half as much as Doris. If there were $15 left in the cookie jar, how much money, in dollars, was there in the cookie jar at first? Let's think step by step and output the final answer after "####".
user
Martha spent 6/2=<<6/2=3>>3 dollars.
Martha and Doris spent 6+3=<<6+3=9>>9 dollars.
There were 15+9=<<15+9=24>>24 dollars in the cookie jar at first.
#### 24
There was some money in the cookie jar. Doris spent $6 from the cookie jar. Martha spent half as much as Doris. If there were $15 left in the cookie jar, how much money, in dollars, was there in the cookie jar at first?
train