Quadrilateral#1120

Quadrilateral

1 second
122.174 megabytes
Very easy
prb1120

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.

Input

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.

Output

For each figure, output its type in the format shown in the sample output.

Examples

Example 1

Loading
Loading