LearnPy Hub
← Arena
EasyRating 900

Right Triangle?

Three side lengths are given in any order. Print YES if they form a right-angled triangle.

Input

Three positive integers.

Output

YES or NO.

Sample 1

Input
3 4 5
Output
YES

Sample 2

Input
5 3 4
Output
YES
solution.py
Output appears here
Right Triangle? · Python Arena problem · LearnPy Hub