Trisha needed to buy some groceries for herself and her dog. She spent $17 on meat, $22 on chicken, $43 on all the veggies, $5 on the eggs, and finally $45 on her dog’s food. When she left the store, she had only $35 left. How much money did she bring with her at the beginning? Let's think step by step and output the final answer after "####".
user
The total amount of money she spent is $17 + $22 + $43 + $5 + $45 = $<<17+22+43+5+45=132>>132
Add this to the amount she had left over to find the amount of money she brought at the beginning: $132 + $35 = $<<132+35=167>>167
#### 167
Trisha needed to buy some groceries for herself and her dog. She spent $17 on meat, $22 on chicken, $43 on all the veggies, $5 on the eggs, and finally $45 on her dog’s food. When she left the store, she had only $35 left. How much money did she bring with her at the beginning?
train