When both consumer surplus and producer surplus are present in a market, what is the market typically considered to be?
A) Inefficient
B) Perfectly competitive
C) Inelastic
D) Allocatively efficient.