POJ 2686 Traveling by Stagecoach