Which one of the following is the basis of the comparative cost theory of David Ricardo?

ASupply and demand
CLabour theory of value
BBenefit theory of trade
DMarginal utility theory