<human>:  John Smith buys 3 cakes for $12 each and splits the cost with his brother. How much did he pay?
<bot>: How much do the cakes cost? ** The cakes cost 3*12=$<<3*12=36>>36
How much did he pay? ** So he paid 36/2=$<<36/2=18>>18
#### 18