Triangle - MarisaOJ: Marisa Online Judge

Triangle

Time limit: 1000 ms
Memory limit: 256 MB
You are given 3 sticks of length $a, b, c$. Check if they can form a triangle! ### Input - 2 integers $a, b, c$. ### Output - Print `YES` if you can form a triangle out of the given sticks, otherwise print `NO`. ### Constraints - $(1 \le a, b, c \le 1000)$. ### Example Input: ```3 4 5``` Output: ```YES```