Balloons#1589

Balloons

1 second
64 megabytes
Easy

A few weeks ago, Vasya had a birthday, and he received a large number of balloons. Vasya noticed that each balloon gradually loses air. He became interested in the order in which the balloons will deflate. To find out, he used his father's equipment. For each balloon, its initial volume c_i (in volume units) and its deflation speed v_i (units of volume per unit time) are known.

Input

The first line contains the integer (1 \leq N \leq 1000) — the number of balloons Vasya received. Each of the next lines contains two integers: the initial volume c_i and the deflation speed v_i (1 \leq c_i, v_i \leq 100000) for the -th balloon.

Output

On a single line, output the order in which the balloons will deflate. If multiple balloons deflate at the same time, list them in increasing order.

Examples

Example 1

Loading
Loading