Triangle#2732

Triangle

1 second
64 megabytes
Very easy

A triangle is one of the basic shapes of geometry: a polygon with three corners or vertices and three sides or edges, which are line segments.

Triangles can be classified according to the relative lengths of their sides:

Input

The first line contains an integer (1 \leq T \leq 100), the number of test cases. Each of the following lines contains integers , , and (1 \leq A,B,C \leq 1000000) — the side lengths of a triangle.

Output

For each test case, print "equilateral", "isosceles" or "scalene" describing the triangle type. If the input does not form a valid triangle, output "invalid!". Follow the output format below.

Examples

Example 1

Loading
Loading