A snail climbs a pole of height h meters, going up a meters during the day and slipping b meters at night (a > b). Determine on what day the snail will reach the top.
Three integers: h, a, b (a > b).
Print the number of the day the snail reaches the top.
Input #1
10 3 2
Output #1
8
Input #2
20 7 3
Output #2
5
Sign in to submit your solution and save your progress.