You are given three positive integers,
Input Specification
The input consists of a single line with integers
Output Specification
Output on a single line, yes
if a valid triangle can be formed.
If a valid triangle can not be formed, output no
.
Note: an invalid triangle in this case is one that does not satisfy the strict triangle inequality.
Sample Input 1
Copy
1 2 3
Sample Output 1
Copy
no
Sample Input 2
Copy
1 2 2
Sample Output 2
Copy
yes
Comments