#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 263,140,0263,140,0, and the corresponding name colors are red, green, and gray.

Constraints

For 20%20\% of the testdata, all five indicator scores satisfy 10\le 10.

For another 20%20\% of the testdata, all five indicator scores satisfy 90\ge 90.

For 100%100\% of the testdata, it is guaranteed that all five indicator scores are in [0,100][0, 100].

Translated by ChatGPT 5