
Even in ancient times, the Egyptians knew that a triangle with sides , , and is a right triangle, with its right angle being the largest one. Determine whether other triangles also have this property.
The input consists of several test cases, ending with the line . Each test case contains three positive integers — the lengths of the sides of a triangle. All numbers do not exceed .
For each test case, print on a separate line right if the triangle is right-angled, or wrong otherwise.
Мысал 1