Deadweight loss is greatest when ?
A. supply is elastic, and demand is perfectly inelastic
B. demand is elastic, and demand is perfectly inelastic
C. both supply and demand are relatively inelastic
D. both supply and demand are relatively elastic