A frog is at the bottom of a 15-foot well. Each time the frog leaps it moves up 3 feet. If the frog has not reached the top of the well, then the frog slides back 1 foot before it is ready to make another leap. How many leaps will the frog need to escape the well