There are several test cases in the input.
The first line contains an integer T (1 <= T <= 20) -- the number of test cases.
For each case:
The first line contains three real numbers Ts, Vr, Vs. 0 < Ts < 108, 0 < Vs < Vr < 108.
The second line contains two real numbers Xo, Yo, indicate the position (Xo, Yo) of you at current.
The third line contains two real numbers Xp, Yp, indicate the position (Xp, Yp) of the person you are going to save.
The forth line contains only one integer N -- the number of vertices of the lake. 3 <= N <= 50000.
The follow N lines, each line contains two real numbers x, y, indicating one of the vertex (x, y) of the lake. The vertices of lake are listed in either clockwise or counter-clockwise order.
Each coordinate in the input does not exceed 106 by its absolute value. Your position is on the land and the person’s is in the lake.