Snail

Snail. A snail goes up A feet during the day and falls B feet at night. How long does it take him to go up H feet?

Given three integer numbers H, A and B (A > B), the program should output a number of days.

Input

Output

10
3
2

8

20
7
3

5

19
7
3

4

10
1
0

10

10
5
0

2

 

Leave a Reply

Your email address will not be published. Required fields are marked *