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

### Instruction:
Leila went to the supermarket to get some groceries. Then she headed to her mechanic to get her automobile fixed. If fixing her automobile cost $350 which was $50 more than thrice the amount she spent at the supermarket, how much has she spent altogether?

### Response:
 Kwa kubadilisha hatua za kupata kiasi alichotumia dukani, $50 chini ya $350 ni $350-$50 = $<<300=300>>300
Kwa kuwa kurekebisha gari lake kuligharimu $50 zaidi ya mara tatu ya kiasi alichotumia dukani, alitumia $300/3 = $<<300/3=100>>100 dukani.
Jumla, ametoa $350+$100 = $<<350+100=450>>450