bhargavi's submission of Sherlock and the Grid | CodeChef