Write a program that which determines whether the point with the given coordinates is in the shaded area.
Input: The input string contains two real numbers – coordinates of a point on the plane (first x -coordinate, then – y -coordinate).
Output: The program should print the word 'YES' if the point is in the shaded area, and the word 'NO' if it is not.
Examples
# |
Input |
Output |
1 |
-0.5 0. |
NO |
2 |
0. 0.5
| YES |