Small pizzas were $3 and large pizzas were $5
To feed the 8th graders, 125 pizzas were bought for $475
How many of each type was bought?