Problems
219 - Monkey Vs Bamboo
SUBMIT PROBLEM

Monkey Vs Bamboo

Time Limit: 1 sec

 

The Problem

There is an H feet long Bamboo which is smeared with oil. A monkey climb up M feet at first minute & drop down N feet in the second minute. So now find out how many minutes it will take to reach the ending point of the bamboo?

 

The Input

The input file contains three integer number H, M & N (H<1000, M<1000, N<1000 and  M>N).

 

The Output

Output will show the total minutes take to reach the ending point of the bamboo.

 

Sample Input

92 12 8

 

Sample Output

 41

 

 

 

 

Problem Setter: Nezam Uddin