Sherlock and the Grid | CodeChef