
Point coordinates (x, y) given . Print the word YES on the screen if the point falls within the shaded area, otherwise print NO. A point located on the border with a shaded area is considered not to fall into it.
Input data: The program receives two real numbers as input - the coordinates of the point (x, y)
Output: Output the answer to the problem
Examples
# |
Input |
Output |
1 |
0.0 -0.5 |
NO |
2 |
1.0 1.5 |
YES |