The input contains several test cases, and the first line contains a single integer $T~(1 \le T \le 200)$, the number of test cases.
For each test case, the first line contains one integer $n~(2 \le n \le 10\,000)$, which is the number of segments on the Euclidean plane.
The following $n$ lines describe all the segments lying on the Euclidean plane, the $i$-th of which contains for integers $x_1, y_1, x_2$ and $y_2$ describing a segment that connects $(x_1,y_1)$ and $(x_2,y_2)$, where $-10^9 \le x_1, y_1, x_2, y_2 \le 10^9$.
It's guaranteed that the two endpoints of each segment do not coincide, any two given segments do not intersect with each other in each test case, and no more than $20$ test cases satisfy $n>1\,000$.