Brazil hosts top math prize for first time in Latin America