25.getMaxMovingDistance

You're accepting a job in a new town and have a lot of furniture to move. Write a function named getMaxMovingDistance that receives 3 numbers as parameters:

  • your total budget for moving the furniture (in USD) - budget
  • the weight of all your furniture (in kg) - weight
  • how much moving 10kg for 100km costs (in USD) - cost

The function should return the maximum number of kilometers that we can afford to move the all furniture.

Example 1

Input

budget

=

weight

=

cost

=

Output

Explanation

We can afford to move all our 440kg of furnite for 31.8181km with a budget of $700