during 24 hour Hamed Malek spend time play Sharti now exhausted finish round so ask help determine winner round Sharti play nn board cell color white colored black the row board number number 1 n also column board number leave right number 1 n the cell locate intersection ith row jth column denote ijthe player alternatively turn in turn player choose square sidelength k lowerright cell paint white then color cell square inverse white cell black viceversa the player perform turn lose you know Hamed Malek clever play good move turn know fact Hamed take turn give initial board describe input determine winner