from typing import Tuple


def _square_to_grid(square: str) -> Tuple[int, int]:
    """
    Converts the string name of the square into the grid location
    """
    row_val = square[0]
    col_val = square[1]
    col = ["8", "7", "6", "5", "4", "3", "2", "1"].index(col_val)
    row = ["a", "b", "c", "d", "e", "f", "g", "h"].index(row_val)
    return row, col