Competitions

# Preparation for Azercell Cup, 5 - 7 classes

# Rectangular or not?

It set lengths of the sides of a triangle. Define, is this triangle rectangular?

#### Input

In a unique line set 3 natural numbers - lengths of the sides of a triangle. Lengths of the sides do not exceed 1000.

#### Output

Deduce **"YES"** (without inverted commas), if a triangle rectangular, or **"NO"** (without inverted commas) otherwise.

Input example #1

3 5 4

Output example #1

YES

Input example #2

3 5 5

Output example #2

NO