Mario is a landscape architect who needs to buy 17 shrubs for a foundation planting. Azalea plants cost $20 each, rhododendrons cost $25 each. If he spent exactly $400, how many of each shrub did he buy?