Paladin Manao catch trail ancient Book Evil swampy area this area contain n settlement number 1 n move swamp difficult people tramp exactly n1 path each path connect pair settlement bidirectional moreover possible reach settlement traverse pathsThe distance settlement minimum number path cross settlement Manao know Book Evil get damage range d this mean Book Evil locate settlement damage example emergence ghost werewolf affect settlement distance d settlement Book residesManao hear m settlement affect Book Evil their number p1p2pm note Book affect settlement detect Manao want determine settlement contain Book Help difficult task