Triangle

Triangle

Description

Given the three sides of a triangle, tell whether these three sides can form a triangle.

Data Format

Input

Three integers \(a, b, c\) of corresponding side length, split by spaces.

Output

If the three sides can form a triangle, output "YES".
Otherwise, output "NO".
Do not output double quote marks and note the capitalized characters.

Data Sample

Input 1

1 1 1

Output 1

YES

Input 2

1 2 1

Output 2

NO

Constraints

All integers in input data are guaranteed to be \(\le 10^9\).

信息

难度
1
分类
模拟 点击显示
标签
递交数
2
已通过
2
通过率
100%
上传者

相关

在下列训练计划中:

Beginning C