Aman Pandey's submission of Sherlock and the Grid | CodeChef