solution for south american mining question