
Four pairwise distinct points are given in the plane by their coordinates, in the order they are traversed. Determine the type of the resulting quadrilateral.
The first line contains the number of figures (1 \le n \le 100). Each of the next lines contains integers: the coordinates of the vertices of the next figure. All tests are correct. All coordinates do not exceed by absolute value.
For each figure, output its type in the format shown in the sample output.
Example 1