2.11. Exercise: Triangle 2

Write a program that takes 3 integers in consecutive 3 lines and determines whether these integers can be the lengths of the edges of a triangle or not. Your program should print “YES” if a triangle can be constructed with given edges and “NO” otherwise.

Sample I/O:

Input:
3
5
4

Output:
YES


Input:
2
1
1

Output:
NO