Hide

Problem E
Incline Estimation

Mr. P is trying to invite Mr. Y on a hike. However, Mr. Y is the type of guy who prefers playing gacha games rather than going for a hike. He will only agree to a hike if it is easy enough. It is considered easy enough if the angle from his current location to the top of the hike is strictly less than 15 degrees.

Input

The input consists of a single line containing 2 integers: $D$ ($100 \leq D \leq 10\, 000$), which is the hike’s horizontal distance and $H$ ($100 \leq H \leq 10\, 000$), which is the hike’s height.

\includegraphics[width=0.6\textwidth ]{slope.png}
Figure 1: Example hike with distance $D$, height $H$, and average incline angle $\theta $.

Output

Print Yes if Mr. Y will go on the hike, or No otherwise.

Sample Input 1 Sample Output 1
500 100
Yes
Sample Input 2 Sample Output 2
100 500
No
Sample Input 3 Sample Output 3
100 100
No
Sample Input 4 Sample Output 4
10000 10000
No

Please log in to submit a solution to this problem

Log in