Below is an instruction that describes a task. Write a response that appropriately completes the request in Spanish. Please answer in Spanish.

### Instruction:
 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?


### Response:
 Sea G la cantidad de dinero que trajo al principio.
Gastó G + 17 + 22 + 43 + 5 + 45 = G + <<+17+22+43+5+45=132>>132.
Le quedaron G - 132 = $35.
Por lo tanto, al principio tenía G = $35 + 132 = $<<35+132=167>>167.