eolymp
bolt
Try our new interface for solving problems
Problems

Triangle

Triangle

Three positive integers $a, b$ and $c$ are given. Print the sum of the given numbers if there exists a triangle with side lengths $a, b$, $c$, and "\textbf{No}" otherwise. \InputFile Three positive integers $a, b$ и $c$. \OutputFile Print the sum of the given numbers if there exists a triangle with side lengths $a, b$, $c$, and "\textbf{No}" otherwise.
Time limit 1 second
Memory limit 128 MiB
Input example #1
3 2 4
Output example #1
9
Input example #2
3 2 7
Output example #2
No
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"