The surplus caused by a binding price floor will be greatest if ?

The surplus caused by a binding price floor will be greatest if ?

A. demand is inelastic and supply in elastic
B. supply is inelastic, and demand is elastic
C. both supply and demand are elastic
D. both supply and demand are inelastic