4. A frog fell into a well 20 meters deep. During the day, it can climb up 3 meters along the slippery well wall, but it will slip down 2 meters when it rests. On which day will the frog climb out of the well?
A. 20
B. 17
C. 18
$\mathbf{C}$