The first line of input contains an integer $T$ indicating the total number of test cases. The first line of each test case is an integer $n$, indicating the number of roads in Bytecity. The $n$ lines that follow describes roads in Bytecity, the $i$-th of these lines contains $4$ integers $x1_i, y1_i, x2_i, y2_i$, indicating road $i$ is a straight line through $(x1_i, y1_i)$, $(x2_i, y2_i)$ on the plane.
$1 \le T \le 1000$.
$2 \le n \le 1000$.
$-10^3 \le x1_i, y1_i, x2_i, y2_i \le 10^3$.
$(x1_i,y1_i) \neq (x2_i, y2_i)$.
There are at most $10$ test cases with $n > 100$.
There are no $2$ identical roads, and at least $1$ intersection exists in each test case.