You're competing in an outdoor paper airplane flying contest, and you want to predict how far your paper airplane will fly. Your design has a fixed factor k, such that if the airplane's velocity is at least k, it will rise. If its velocity is less than k it will descend.
Here is how your paper airplane will fly:
You start by throwing your paper airplane with a horizontal velocity of v at a height of h. There is an external wind blowing with a strength of s.
While h>0, repeat the following sequence:
Compute how far the paper airplane travels horizontally.
The single line of input contains four integers h, k, v, and s (1≤h,k,v,s≤103), where h is your starting height, k is your fixed factor, v is your starting velocity, and s is the strength of the wind.
Output a single integer, which is the distance your airplane travels horizontally. It can be shown that this distance is always an integer.