def get_acres(grid, coordinates):
    """Get acres from coordinates on grid."""
    acres = []
    for row, column in coordinates:
        if 0 <= row < len(grid) and 0 <= column < len(grid[0]):
            acres.append(grid[row][column])
    return acres