Write a program that determines if a point with given coordinates is in a 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 output the word 'YES' if the point is in the shaded area, and the word 'NO' if it is not.
Examples
# |
Input |
Output |
1 |
1.5 0.25 |
YES |
2 |
1.5 -0.25 |
NO |