Try to solve the Most Stones Removed with Same Row or Column problem.

Statement