A pack of dogs found a pile of bones in the dumpster behind the butcher shop.  One by one, the dogs crawled into the dumpster, grabbed a mouthful of bones, and ran off with their newfound treasure.  In all, there were 5 dogs.  The first dog carried off 3 bones.  The second dog carried off 1 less bone than the first dog.  The third dog carried off twice as many as the second dog.  The fourth dog carried off one bone, and the fifth dog carried off twice the number of bones as the fourth dog carried, leaving no remaining bones in the dumpster.  How many bones were in the original pile of bones? Let's think step by step and output the final answer after "####".
user
The second dog carried off 1 less bone than the first dog, or 3-1=<<3-1=2>>2 bones.
The third dog carried off twice as many bones as the third dog, or 2*2=<<2*2=4>>4 bones.
The fifth dog carried off twice the number of bones as the fourth dog carried, or 2*1=2 bones.
Therefore, the original pile of bones contained 3+2+4+1+2=<<3+2+4+1+2=12>>12 bones.
#### 12
A pack of dogs found a pile of bones in the dumpster behind the butcher shop.  One by one, the dogs crawled into the dumpster, grabbed a mouthful of bones, and ran off with their newfound treasure.  In all, there were 5 dogs.  The first dog carried off 3 bones.  The second dog carried off 1 less bone than the first dog.  The third dog carried off twice as many as the second dog.  The fourth dog carried off one bone, and the fifth dog carried off twice the number of bones as the fourth dog carried, leaving no remaining bones in the dumpster.  How many bones were in the original pile of bones?
train