#C7207. Triangle Formation Check

    ID: 51053 Type: Default 1000ms 256MiB

Triangle Formation Check

Triangle Formation Check

Given three integers representing the lengths of the sides of a potential triangle, determine whether a valid triangle can be formed.

A triangle is valid if and only if the sum of any two sides is greater than the third side. In mathematical terms, for three sides \(a\), \(b\), and \(c\), the triangle inequality must hold:

  • \(a + b > c\)
  • \(a + c > b\)
  • \(b + c > a\)

If all three conditions are satisfied, output Yes; otherwise, output No.

Input values will be provided as a single line containing three integers separated by spaces.

inputFormat

The input consists of a single line with three space-separated integers:

a b c

where a, b, and c represent the sides of the triangle.

outputFormat

Output a single line: Yes if the sides can form a triangle, and No otherwise.

## sample
3 4 5
Yes

</p>