In foreign trade, a country specializes in the production of a commodity in which it…