human
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?
assistant
How much did fixing her automobile cost? ** Reversing the steps to obtain the amount she spent at the supermarket, $50 less than $350 is $350-$50 = $<<350-50=300>>300
How much did Leila spend at the supermarket? ** If $300 was thrice the amount she spent at the supermarket, then the amount spent at the supermarket was $300/3 = $<<300/3=100>>100
How much has Leila spent altogether? ** In addition to what she spent fixing her auto, she spent $100+$350 = $<<100+350=450>>450 altogether
#### 450