Angie bought three times as many pretzels at the mall as Shelly did. Shelly bought half as many pretzels as Barry. If Barry bought 12 pretzels, how many did Angie buy? Let's think step by step and output the final answer after "####".
user
Shelly bought 12/2=<<12/2=6>>6 pretzels
Angie bought 6*3=<<6*3=18>>18 pretzels
#### 18
Angie bought three times as many pretzels at the mall as Shelly did. Shelly bought half as many pretzels as Barry. If Barry bought 12 pretzels, how many did Angie buy?
train