A school is planning a field trip and needs to rent buses. A large bus costs $300, a medium bus costs $200, and a small bus costs $150. The total budget for buses is $2,100. If the school rents 3 large buses and 4 small buses, how many medium buses can they rent with the remaining budget?