100 atcoder#ABC199A. [ABC199A] Square Inequality

[ABC199A] Square Inequality

Score : 100100 points

Problem Statement

You are given integers AA, BB, and CC. Determine whether A2+B2<C2A^2 + B^2 < C^2 holds.

Constraints

  • 0A10000 \le A \le 1000
  • 0B10000 \le B \le 1000
  • 0C10000 \le C \le 1000
  • AA, BB, and CC are integers.

Input

Input is given from Standard Input in the following format:

AA BB CC

Output

If A2+B2<C2A^2 + B^2 < C^2 holds, print Yes; otherwise, print No.

2 2 4
Yes

Since A2+B2=22+22=8A^2 + B^2 = 2^2 + 2^2 = 8 and C2=42=16C^2 = 4^2 = 16, we have A2+B2<C2A^2 + B^2 < C^2, so we should print Yes.

10 10 10
No

Since A2+B2=200A^2 + B^2 = 200 and C2=100C^2 = 100, A2+B2<C2A^2 + B^2 < C^2 does not hold.

3 4 5
No