Tim decides to get animals for his zoo.  He buys 3 goats for $400 each.  He gets twice as many llamas which cost 50% more each.  How much did he spend? Let's think step by step and output the final answer after "####".
user
The goats cost 3*400=$<<3*400=1200>>1200
He buys 3*2=<<3*2=6>>6 llamas
Each llama cost 400*1.5=$<<400*1.5=600>>600
So he spends 600*6=$<<600*6=3600>>3600 on llamas.
So the total cost was 1200+3600=$<<1200+3600=4800>>4800
#### 4800
Tim decides to get animals for his zoo.  He buys 3 goats for $400 each.  He gets twice as many llamas which cost 50% more each.  How much did he spend?
train