Food Collecting#1598

Food Collecting

1 second
128 megabytes
Very easy

As a serious strategy-game player, you know how important it is to gather enough food for your army before any invasion. Therefore, you decided to collect at least neededFood units of food for your soldiers.

Initially, you have workers. In each round, each worker gathers one unit of food. At the end of each round, you may spend some of your food to hire additional workers. Hiring a single new worker costs units of food. You may hire any number of workers as long as you have enough food to pay for them.

Find the minimum number of rounds required to gather at least neededFood units of food.

Input

Each line contains three integers: neededFood, , and (1 \le neededFood,\, n,\, price \le 1000).

Output

For each test case, print the minimum number of rounds required to gather at least neededFood units of food on a separate line.

Examples

Example 1

Loading
Loading