Peru, with 34 million inhabitants, is a middle-income South American country dependent on the export of raw materials.