A snail wants to make it out of the bottom of a 30-foot well. He climbs up 2 feet during the night, but slips down 1 foot during the day when it's hot. How long does it take for the snail to get out from the bottom of the 30-foot well?