Ggung learned about triangles at school today. Triangles are grouped by their side lengths.
The math teacher assigned homework: classify a triangle from its three side lengths. Ggung would much rather go play, so do the homework for him.
The first line contains the number of test cases T (1≤T≤100).
Each of the next T lines contains three space-separated integers A, B, C (1≤A,B,C≤1,000,000), the three sides of a triangle.
For each test case print one line in the form Case #x: type, where x is the test case number starting at 1 and type is the kind of triangle.
If the three lengths form a triangle, print equilateral, isosceles, or scalene. Otherwise print invalid!. The lengths form a triangle only when the longest side is shorter than the sum of the other two. If the two values are equal, it is not a triangle.