Given the three coordinates of three vertices of a triangle, determine whether it is an isosceles triangle, an acute triangle, an obtuse triangle, or a right triangle. Here we assume that all coordinates are integers. Note that if an triangle is an isosceles triangle, you cannot report it as an acute triangle nor a right triangle. To avoid lose of accuracy it is strongly suggested that you compute the three squares of the length of sides, rather than to compute the length. Suppose the square of the longest side is $a^2$, then you can determine the shape of the triangle by comparing it with $b^2$ and $c^2$, which are the squares of the other two sides.
為了防止計算誤差，若需要紀錄三角形的三邊長，最好使用其邊長的平方儲存，假設三邊長由長到短分別為 $a$, $b$, $c$，那麼只需要比較 $a^2$, $b^2$, $c^2$ 之間的關係即可得到。
The first line contains one integer, $n$, indicate the number of input cases below. The following are $n$ lines, each contains six integers, $x_1, y_1, x_2, y_2, x_3, y_3$, which are the three coordinates of three vertices of the triangle. Each integer is non-negative and less than 1,000. All the input data will form a triangle correctly.
For each case, print the type of the triangle,
0 0 1 1 1 0
0 0 1 3 3 0
0 0 1 1 3 0
0 0 1 2 1 0