John goes to the market and buys 3 goats for $500 each and 2 cows for $1500 each.  How much money did he spend?