{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003ctable style\u003d\"border: none;\"\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd style\u003d\"padding-right: 3pt; padding-left: 3pt;\"\u003e\n\t\t\tThe mathematician and philosopher Pythagoras was born in ancient Greece, in the island of Samos. Pythagoras spent many years travelling to places such as Egypt, to learn as much as he could. \u003cbr\u003e \u003cbr\u003e\n\t\t\u003c/td\u003e\n\t\t\u003ctd style\u003d\"padding-right: 3pt; padding-left: 3pt;\"\u003e\n\t\t\t\u003cimg src\u003d\"https://static.vecteezy.com/system/resources/previews/006/436/265/original/pythagoras-philosopher-in-cartoon-style-free-vector.jpg\" width\u003d\"120\" height\u003d\"130\"\u003e\n\t\t\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd colspan\u003d\"2\" style\u003d\"padding-right: 3pt; padding-left: 3pt;\"\u003e\n\t\t\tDuring Pythagoras’ trip to Egypt, he noticed that the Egyptians had a very interesting strategy to improve the stability of the pyramids’ walls. They used a rope, with 12 knots tied evenly spaced, which resulted in the famous 3-4-5 triangle, forming a 90°angle.\n\t\t\u003c/td\u003e\n\t\u003c/tr\u003e\n\u003c/table\u003e"}},{"title":"Input","value":{"format":"HTML","content":"Input 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."}},{"title":"Output","value":{"format":"HTML","content":"For each test case, a line containing ‘right’ if the triangle is a right triangle, and a line containing ‘wrong’ if the triangle is not a right triangle."}},{"title":"Sample Input","value":{"format":"HTML","content":"8 6 10\u003cbr\u003e\n25 52 60\u003cbr\u003e\n5 12 13\u003cbr\u003e\n2 2 2\u003cbr\u003e\n20 10 10\u003cbr\u003e\n6 8 10\u003cbr\u003e\n0 0 0\n"}},{"title":"Sample Output","value":{"format":"HTML","content":"right \u003cbr\u003e\nwrong \u003cbr\u003e\nright \u003cbr\u003e\nwrong \u003cbr\u003e\nwrong \u003cbr\u003e\nright"}}]}