Triangle Rush

0

0 votes
Easy
Problem

Kaushal is working in Triangle Land and his job is to find out if a triangle can be constructed using 3 different sticks. The complete length of each stick should be used as an edge of a triangle. Sticks cannot be broken.

Help Kaushal in determining whether the triangle can be constructed or not.

INPUT:

  • Three integers a, b, c (1 <= a, b, c <= 107representing the length of the three sticks

OUTPUT:

  • Output in a single line "yes" if a triangle can be constucted or "no" otherwise.
Sample Input
1 1 1
Sample Output
yes
Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?