#### Statement

A spaceship has been sighted heading towards Earth. For the entire time that humanity has been monitoring it, it has not altered its course, it only changed speed for unknown reasons. As such, all the possible places on Earth where the spaceship might end up landing form a straight line; depending on how much it changes speed, it will land at different times, meaning a different point on this line due to Earth's rotation.

*N* people want to be the first to meet the aliens - they picked a point *x*_{i} on this line and wait at that point in their vehicle with speed *v _{i}*. Now they are all anxiously waiting for the spaceship's arrival. NASA has given a list of

*Q*most likely locations where the spaceship might end up landing - and everyone wants to know who would get to be the first to meet the aliens if the spaceship landed at each of the given points. They turned to you for help!

#### Input:

The first line contains two integers *1 ≤ N, Q ≤ 300000* - the number of people wishing to meet the aliens and the number of possible points where the spaceship might land.

The following *N* lines contain two integers *0 ≤ x _{i} < 10^{9}* and

*0 < v*- the point on the line where the

_{i}≤ 10^{9}*i*person is waiting and the speed of his vehicle. Additionally,

^{th}*x*=

_{i}*x*→

_{j}*v*≠

_{i}*v*.

_{j}The last line contains *Q* distinct integers *0 ≤ q _{i} < 10^{9}* - the points on the line where the spaceship might end up landing. You may assume the spaceship will not land at any point containing a person waiting in a vehicle.

#### Output:

For each query *q _{i}* output the number of people who will arrive at the spaceship first if it lands at that point. A person at

*x*with speed

_{j}*v*will arrive at

_{j}*q*in time

_{i}**|**

*x*-

_{j}*q*

_{i}**|**/

*v*. The people who will arrive at the spaceship first are those

_{j}*j*for whom the fraction is minimal out of all people. Then, in the same line, output the 1-based indices of these people as they were given in the input, sorted in ascending order.

#### Example input:

4 7 10 5 30 1 20 4 100 1 5 31 22 15 85 60 61

#### Example output:

1 1 1 2 1 3 1 1 2 1 4 2 1 3 1 1

#### Time and memory limit:

- 3 seconds
- 64MB

**Problem source:**
SPOJ