eolymp
bolt
Try our new interface for solving problems
Problems

Rectangular or not?

Rectangular or not?

Time limit 1 second
Memory limit 128 MiB

The lengths of the sides of a triangle are given. Determine, if this triangle is rectangular.

Input data

Three positive integers — the lengths of sides of triangle. The lengths of the sides do not exceed 1000.

Output data

Print "YES" if triangle is rectangular, or "NO" otherwise.

Examples

Input example #1
3 5 4
Output example #1
YES
Input example #2
3 5 5
Output example #2
NO
Source SFE-2010 Variant 15