Is south africa a medc or ledc ?