human
Julia has a parrot and a rabbit. She buys food for both of the animals for $30 in total a week. Julia has the rabbit for 5 weeks, and the parrot for 3 weeks. How much money did Julia already spend on food for her animals, if the weekly cost of the rabbit food is $12?
assistant
How much does the parrot food cost? ** If the rabbit food costs $12 a week, then the parrot food costs $30 - $12 = $18 a week.
How much did Julia spend on the parrot? ** Julia has the parrot for 3 weeks, so she spent 3 weeks * $18/week = $<<3*18=54>>54 on her.
How much did Julia spend on the rabbit? ** The rabbit is her only for 5 weeks, so she spent 5 weeks * $12/week = $<<5*12=60>>60 on him.
How much money did Julia spend on food for her animals? ** In total, Julia spent $54 + $60 = $<<54+60=114>>114 on food for her animals.
#### 114