Egypt#1265

Egypt

1 секунд
128 мегабайт
Өте жеңіл

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

Loading
Loading