A snail is at the bottom of a well that is 30ft deep. It can crawl upwards 3ft in one day, but at night it slips back 2ft. How long does it take the snail to crawl out of the well ?