#T379. 最高分数的学生姓名

最高分数的学生姓名

Description

Enter the number of students, then input each student's score and name. Output the name of the student with the highest score.

Input Format

The first line contains a positive integer N (N ≤ 100), representing the number of students.
The next N lines follow, each formatted as:
score name
Here, score is a non-negative integer ≤ 100, and name is a continuous string without spaces, with a maximum length of 20.
It is guaranteed that only one student has the highest score.

Output Format

The name of the student with the highest score.

5
87 lilei
99 hanmeimei
97 lily
96 lucy
77 jim

hanmeimei

翻译结果

CodesOnline

(注:由于"CodesOnline"是一个专有名词或品牌名称,通常不需要翻译,直接保留原文即可。如果必须翻译,可考虑译为"在线代码"或"代码在线",但建议保留原名以保持品牌识别度。)