PP1 Week 2 Conditionals 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 know the size of the cake and the radius of the table.
Contains three positive integers: the radius of the table r (1 ≤ r ≤ 1000), the width of the cake w, and the length of the cake l (1 ≤ w ≤ l ≤ 1000).
Print the word YES, if the cake can be placed on the table, and the word NO otherwise.
38 40 60
35 20 70
50 60 80