Input (grade 7): Neighboring states are (from west clockwise) RondÃ nia, Amazonas, ParÃ, Tocantins, GoiÃ s and Mato Grosso do Sul.
Output (grade 8): Mato Grosso shares borders with the states of RondÃ nia, Amazonas, ParÃ, Tocantins, GoiÃ s and Mato Grosso do Sul.