Sharlin's submission of Villages and Tribes | CodeChef