favorite We need a little bit of your help to keep things running, click on this banner to learn more

Week 2: November 16 – 22. Conditional statement. Part 1


After the second round of programming contests Olympiad participants decided to celebrate this event. For this purpose a large rectangular cake was ordered. The participants gathered at the round table. Naturally, they have a question: is it possible to put a rectangular cake on the round table so that no piece of cake will extend beyond the table. You need to answer this question knowing the size of the cake and the radius of the table.


Contains three positive integers: radius of the table r (1r1000), width of the cake w and the length of the cake l (1wl1000).


Print the word YES, if the cake can be placed on the table, and the word NO otherwise.

Time limit 1 second
Memory limit 128 MiB
Input example #1
38 40 60
Output example #1
Input example #2
35 20 70
Output example #2
Input example #3
50 60 80
Output example #3
Source Crimea-2010