The conversation between human and AI assistant.
[|Human|] When was the theory of comparative advantage developed?
[|AI|] The classical theory of comparative advantage was developed in 1817 by David Ricardo.
[|Human|] 
When was the theory of comparative advantage developed?