Answer
In both cases, the country will try to specialize in the commodity in which the country has the comparative advantage as then it will export that commodity.
Exports will this be beneficial for the financial condition of any country and will help to develop the country.
Work Step by Step
One would produce a product they have a comparative advantage in is because they would have the ability to produce a certain product the cheapest thus allowing them to make the most profit.