Given two integers x and y - the coordinates of the point.
It is necessary to determine the color of this point in the figure.
Use the following notation to display colors:
W - white (all points beyond the border of the picture are considered white)
G - green
Y - yellow
R - red
B - black (if the point fell on the border of the areas of the picture)
One cell is 1
You can enlarge the picture by clicking on it (opens in a new window).