Rice and chess problem.