The first line contains an integer $T$ indicating the number of tests.
Each test begins with one line containing one integer $n$, denoting the number of points in the polygon. Then, the $i$-th line in the following $n$ lines contains two integers $x_i, y_i$, $(x_i, y_i)$ is the coordinate of the $i$-th point. For any $1 \le i < n$, the $i$-th point is connected to the $(i+1)$-th point with an edge. Also, the $n$-th point is connected to the first point.
* $1 \le T \le 40$
* $3 \le n \le 1000$
* coordinates are in the range $[-1000, 1000]$