Rectangular or not?
It set lengths of the sides of a triangle. Define, is this triangle rectangular?
In a unique line set 3 natural numbers - lengths of the sides of a triangle. Lengths of the sides do not exceed 1000.
Deduce "YES" (without inverted commas), if a triangle rectangular, or "NO" (without inverted commas) otherwise.
3 5 4
3 5 5