manas agrawal's submission of Coloring the Grid | CodeChef