Triangle Inequality


Submit solution

Points: 10
Time limit: 8.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
Python

Problem Definition

Given the lengths of three line segments, Check whether they form a triangle or not. Three line segments can form a triangle if and only if the sum of any two line segments' lengths is strictly greater than the third one's length. If the line segments form a triangle, print the message "Yes". Otherwise, print the message "No".

Input Format

There will be three numbers, indicating the lengths of three line segments

Output Format

Output is either the message "Yes" or "No" depending on the satisfiability of triangle inequality.

Sample Input

3

4

5

Sample Output

Yes


Comments

There are no comments at the moment.