The administrators of DMOJ have become bored with the current rating colours that they have. With the highest possible rating being the infamous Target, they have decided to add a new rating category that is a mixture of multiple colours, the Rainbow Rating. This special category is reserved for those who are able to obtain a rating greater than or equal to . Now, the rating chart is as follows:
Anything above or equal to will be considered Rainbow Rating, with the distinguished title of Rainbow Master.
You are given the rating of users. For each user, can you output the category that each user belongs to?
, where is the rating of the user.
The first line of input will contain .
The next lines of input will contain , the rating of the user.
According to the rating given, output the rating category the user belongs to.
9 3 1001 1309 1567 2000 2999 3502 9999 -1231224
Newbie Amateur Expert Candidate Master Master Grandmaster Target Rainbow Master Newbie
The rating chart is incorrect.