You are given $N$ lines on the $xy$\-plane. The $i$\-th line $(1 \le i \le N)$ passes through two distinct points $(a_i, b_i)$ and $(c_i, d_i)$. Specifically, $(a_1, b_1, c_1, d_1) = (0, 0, 1, 0)$ and $(a_2, b_2, c_2, d_2) = (0, 0, 0, 1)$. That is, the first line represents the $x$\-axis, and the second line represents the $y$\-axis.
Alice is on the $xy$\-plane. She can perform the following operation any number of times (including zero):
> Choose one of the $N$ given lines. Alice moves to the position symmetric to her current position with respect to the chosen line.
Additionally, we define that point $P$ is **reachable** from point $S$ if the following condition is satisfied:
> For any real number $\varepsilon > 0$, there exists a point $Q$ such that the Euclidean distance between $Q$ and $P$ is at most $\varepsilon$, and Alice can move from $S$ to $Q$ in a finite number of operations.
Answer $Q$ queries. For the $i$\-th query $(1 \le i \le Q)$, you are given integers $X_i, Y_i, Z_i, W_i$. Output `Yes` if $(Z_i, W_i)$ is reachable from $(X_i, Y_i)$. Otherwise, output `No`.
Solve the problem for $T$ test cases.
## Constraints
* All input values are integers.
* $1 \le T \le 100$
* For each test case:
* $2 \le N \le 2000$
* $1 \le Q \le 2000$
* $-10^8 \le a_i, b_i, c_i, d_i \le 10^8 \ (1 \le i \le N)$
* $(a_i, b_i) \neq (c_i, d_i)$
* $(a_1, b_1, c_1, d_1) = (0, 0, 1, 0)$
* $(a_2, b_2, c_2, d_2) = (0, 0, 0, 1)$
* All given lines are distinct.
* $-10^8 \le X_i, Y_i, Z_i, W_i \le 10^8 \ (1 \le i \le Q)$
## Input
The input is given from Standard Input in the following format:
$T$
$\text{case}_1$
$\text{case}_2$
$\vdots$
$\text{case}_T$
Here, $\text{case}_i$ represents the $i$\-th test case. Each test case is given in the following format:
$N$
$a_1$ $b_1$ $c_1$ $d_1$
$a_2$ $b_2$ $c_2$ $d_2$
$\vdots$
$a_N$ $b_N$ $c_N$ $d_N$
$Q$
$X_1$ $Y_1$ $Z_1$ $W_1$
$X_2$ $Y_2$ $Z_2$ $W_2$
$\vdots$
$X_Q$ $Y_Q$ $Z_Q$ $W_Q$
[samples]