题目描述

Write a program that reads three nonzero integers and determines and prints whether they’re the sides of a right triangle.


输入格式

Input contains serveral lines.
Each line contains three nonzere numbers.
Exit the program when input integer is -1.


输出格式

Prints whether the input numbers are the sides of a right triangle.


样例数据

输入

3 4 5
6 7 8
1 2 3
-1

输出

These are the sides of a right triangle.
These do not form a right triangle.
These do not form a right triangle.

备注


操作

评测记录

优秀代码

信息

时间限制: 1s
内存限制: 128MB
评测模式: Normal

题解