Mining in the Andes: a tale of three countries