Solution for Daily Programmer #167 Park Ranger, located at http://www.reddit.com/r/dailyprogrammer/comments/28nqeb/6202014_challenge_167_hard_park_ranger/