## Problem Description

After participation in the OSUM programming contest, the handsome and charming OSUM members felt very tire. So we decided to go skate.

We were competing in a ski slalom, and we need to select the best skis for the race. The format of the race is that there are *N* pairs of left and right gates, where each right gate is *W* metres to the right of its corresponding left gate, and you may neither pass to the left of the left gate nor to the right of the right gate. The *i*^{th} pair of gates occurs at distance *y*_{i} down the hill,
with the horizontal position of the *i*^{th} left gate given by *x*_{i}. Each gate is further down the hill than the previous gate (i.e. *y*_{i} < *y*_{i+1} for all *i*).

You may select from *S* pairs of skis, where the *j*^{th} pair has speed *s*_{j}.
Your movement is governed by the following rule: if you select a pair of skis with speed *s*_{j}, you move with a constant downward velocity of *s*_{j} metres per second. Additionally, at any time you may move at a horizontal speed of at most *v*_{h} metres per second.

You may start and finish at any two horizontal positions. Determine which pair of skis will allow you to get through the race course, passing through all the gates, in the shortest amount of time.

## Input

The input file consists of multiply testcases.

The first line of each case contains three integers *W*, *v*_{h}, and *N*, separated by spaces, with 1 <= *W* <= 10^{8}, 1 <= *v*_{h} <= 10^{6}, and 1 <= *N* <= 10^{5}. The following *N* lines each contain two integers *x*_{i} and *y*_{i}, the horizontal and vertical positions respectively of the *i*^{th} left gate, with 1 <= *x*_{i}, *y*_{i} <= 10^{8}. The next line contains an integer *S*, the number of skis, with 1 <= *S* <= 10^{6}. The following *S* lines of input each contain one integer *s*_{j}, the speed of the *j*^{th} pair of skis, with 1 <= *s*_{j} <= 10^{6}.

## Output

For each testcase, if it is impossible to complete the race with any pair of skis, print the line `"IMPOSSIBLE"`. Otherwise, print the vertical speed *s*_{j} of the pair of skis that allows you to get through the race course in the shortest time.

## Sample Input

3 2 3
1 1
5 2
1 3
3
3
2
1
3 2 3
1 1
5 2
1 3
1
3

## Sample Output

2
IMPOSSIBLE

## Source

Funny Programming Contest -- OSUM