Ming-Tian Yang's submission of Chef and Surprise Chessboard | CodeChef