Problems
360 - Valid Triangle
SUBMIT PROBLEM

Valid Triangle

Time Limit: 1 sec

 

The Problem

A triangle is a polygon with three edges and three vertices.

In a triangle the length of bigest edge must be less than or equal the summation of other two edges otherwise it's not a triangle.

Make a simple program that reads 3 integer numbers A, B, and C denoted the 3 edges of a triangle. You need to determind that it's triangle or not.

 

The Input

Input file contain a series of line, each line contain 3 integer numbers A, B, and C (0<A, B, C<=100). Input is terminated by EOF.

 

The Output

For each line of input, print "YES" if the 3 edges make a triangle otherwise print "NO" in a separate line.

 

Sample Input

2 3 4

2 4 1

3 5 6

 

Sample Output

YES

NO

YES

 

 

 

 

Problem Setter: Shahin ShamS