There are 850 Douglass fir and ponderosa pine trees in the section of forest purchased by Sawz Logging Co. Company paid an average of $300 for Douglas fir and $225 for every ponderosa pine. If company paid $217,500 for trees, how many of every type company purchased?