Shivam Mahendru's submission of Villages and Tribes | CodeChef