For an array of shape (6, 7, 8), return the (x, y, z) index of the 100th element (flat index 99) as a tuple of ints.
(6, 7, 8)
(x, y, z)
solve(...)