#P187. 【例31.2】 证书等级
【例31.2】 证书等级
Description
For this assessment, the Blue Bridge Cup Youth Group has implemented a new STEMA assessment. The relationship between scores and certificates is as follows:
Rank Certificate Level
Top 10% First Prize
Top 30% Second Prize
Top 60% Third Prize
Top 80% Excellence Award
Given Xiaolan's score and the scores of all other participants, can you help Xiaolan calculate which certificate level he can receive?
Input Format
The first line contains an integer () representing Xiaolan's score.
The second line contains an integer () representing the total number of participants.
The third line contains integers, each representing the score of a participant (excluding Xiaolan), with scores ranging from to .
Output Format
Output one of the letters , , , , or , representing First Prize, Second Prize, Third Prize, Excellence Award, or No Award, respectively. Note: Participants with the same score receive the same level, and subsequent rankings are adjusted accordingly.
Sample
95
10
99 99 90 80 70 71 78 77 60B