A snail finds itself at the bottom of a well. The well is 1530 centimeters deep. Each day the snail struggles up 180 centimeters and then stops to rest. While it is resting the snail slides down 30 centimeters. How long before it reaches the top of the well?