Is it possible to construct a triangle?

Given 3 segments our task is to determine if it’s possible to construct a triangle out of those 3 sides. It’s a known fact that it’s impossible to construct a triangle if there is a side that is longer or equal to the sum of the other two sides.

The input contains 3 numbers - the sides of the triangle.

Print Yes if it’s possible to construct a triangle from those sides, and No if it isn’t.

Input

Output

2
3
5

No

2
3
4

Yes

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue