Input file: | Standard input | Time limit: | 1 sec | |
Output file: | Standard output | Memory limit: | 256 Mb |
The flag of Chita is a rectangular cloth divided into four elements. The ratio of the width of the flag to its length is 2:3. In the hoist part of the flag is an equilateral triangle of yellow color, which has a base equal to the width of the flag (vertical size of the cloth) and a height equal to half of its length (horizontal size of the cloth). The triangle is flanked by equal-sized stripes of green, white, and red colors.
The colors of the flag reflect the colors of the coat of arms of the urban district of "City of Chita", carrying the traditional heraldic meaning:
A flag of Chita with height of h is drawn on the coordinate plane as shown in the figure (in the first quadrant, the lower left corner coincides with the origin). Determine the color of the point with the specified coordinates.
Three lines of the input file contain three natural numbers, separated by a space: h - the height of the flag, as well as x and y — the coordinates of the point. It is guaranteed that h is divisible by 12.
Print Green
, White
, Red
or Yellow
— the answer to the problem. Print Line
if the point lies on the boundary of the flag or on the line separating two or three colored areas.
12 ≤ h ≤ 109
0 ≤ x ≤ 3 × h2
0 ≤ y ≤ h
See the picture.
No. | Standard input | Standard output |
---|---|---|
1 |
|
|