{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tA long time ago, the Egyptians figured out that a triangle with sides of length 3, 4, and 5 had a right angle as its largest angle. You must determine if other triangles have a similar property.\u003c/p\u003e\r\n\u003cp style\u003d\"text-align: center;\"\u003e\r\n\t\u003cimg src\u003d\"http://uva.onlinejudge.org/external/118/p11854.gif\" style\u003d\"text-align: center;\" width\u003d\"300\" /\u003e\u003c/p\u003e"}},{"title":"Input","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tInput represents several test cases, followed by a line containing 0 0 0. Each test case has three positive integers, less than 30,000, denoting the lengths of the sides of a triangle.\u003c/p\u003e"}},{"title":"Output","value":{"format":"HTML","content":"\u003cp\u003e\r\n\tFor each test case, a line containing \u0026quot;right\u0026quot; if the triangle is a right triangle, and a line containing \u0026quot;wrong\u0026quot; if the triangle is not a right triangle.\u003c/p\u003e"}},{"title":"Sample Input","value":{"format":"HTML","content":"\u003cpre\u003e\r\n6 8 10\r\n25 52 60\r\n5 12 13\r\n0 0 0\u003c/pre\u003e"}},{"title":"Sample Output","value":{"format":"HTML","content":"\u003cpre\u003e\r\nright\r\nwrong\r\nright\u003c/pre\u003e"}}]}