James runs a TV show and there are 5 main characters and 4 minor characters.  He pays the minor characters $15,000 each episode.  He paid the major characters three times as much.  How much does he pay per episode? Let's think step by step and output the final answer after "####".
user
He pays the minor characters 15000*4=$<<15000*4=60000>>60,000
The major characters each get 15000*3=$<<15000*3=45000>>45,000
So he pays the main characters 45,000*5=$<<45000*5=225000>>225,000
So in total he pays 225,000+60,000=$<<225000+60000=285000>>285,000
#### 285,000
James runs a TV show and there are 5 main characters and 4 minor characters.  He pays the minor characters $15,000 each episode.  He paid the major characters three times as much.  How much does he pay per episode?
train