James decides to buy two suits.  The first is an off-the-rack suit which costs $300.  The second is a tailored suit that costs three as much plus an extra $200 for tailoring.  How much did he pay for both suits? Let's think step by step and output the final answer after "####".
user
The second suit cost 300*3=$<<300*3=900>>900
After tailoring the second suit cost 900+200=$<<900+200=1100>>1100
So the total cost was 1100+300=$<<1100+300=1400>>1400
#### 1400
James decides to buy two suits.  The first is an off-the-rack suit which costs $300.  The second is a tailored suit that costs three as much plus an extra $200 for tailoring.  How much did he pay for both suits?
train