The economist David Ricardo pointed out in 1817 that both Great Britain and Portugal would benefit if they exploited their comparative advantages. Portugal could produce wine cheaply, whereas Great Britain could produce cloth much more cheaply than wine.