#P9516. color
color
Problem Description
On Luogu, the color of a user's name is directly linked to their “Gugu value”. For the detailed rules, see Introduction to the Luogu Gugu Value System.
Given the scores of five Gugu value indicators for a Luogu user, output this user's name color. It is guaranteed that this user is neither a brown-name user nor a purple-name user.
Input Format
One line with five integers, representing the user's Basic Credit, Community Contribution, Contest Performance, Practice Performance, and Achievement Score.
Output Format
One line with a string representing the user's name color. This string must be one of Gray, Blue, Green, Orange, Red (case-sensitive).
100 14 9 55 85
Red
100 10 10 10 10
Green
0 0 0 0 0
Gray
Hint
Sample Explanation
The Gugu values of the three samples are , and the corresponding name colors are red, green, and gray.
Constraints
For of the testdata, all five indicator scores satisfy .
For another of the testdata, all five indicator scores satisfy .
For of the testdata, it is guaranteed that all five indicator scores are in .
Translated by ChatGPT 5