#t236. 三角形判断

三角形判断

Triangle Judgment

Problem Description

Given three positive integers, representing the lengths of three line segments, determine whether these three segments can form a triangle.

Input Format

One line containing three positive integers, representing the lengths of the three segments, separated by single spaces.

Output Format

If they can form a triangle, output yes; otherwise output no.

Sample Input

3 4 5

Sample Output

yes

Hint

  • The sum of any two sides must be greater than the third side — all three combinations must be checked; miss one and you are wrong.
  • The three conditions are in an "AND" relationship.