You will be playing an interactive game in this problem.

The game is played on a 7×77\times 77×7 square grid. Each cell of the grid is numbered with a pair (ri,ci)(r_i,c_i)(ri,ci), where rir_iri and cic_ici are the row and column number (1≤ri,ci≤7)(1\leq r_i, c_i \leq 7)(1≤ri,ci≤7).

This is a companion discussion topic for the original entry at https://toph.co/p/find-the-ship