A monkey is at the bottom of a 30-foot well. Each day it jumps up 3 feet and falls back 2 feet. How long does it take to crawl out?
The monkey makes a net gain of 1 foot per day. However, on the day it reaches or exceeds the top, it climbs out before sliding back. Starting at 0 feet:
After 27 days, the monkey is at 27 feet. On day 28, it jumps up 3 feet to 30 feet and escapes before falling back.
Therefore, it takes 28 days for the monkey to crawl out of the well.