Problem

15 /19


City Competition

Problem

At the city Olympiad in Informatics, participants were asked to complete 3 tasks, each of which was evaluated on a 25-point scale. It is known that the total number of participants in the first round of the Olympiad does not exceed 250 people. 

The input of the program is information about the results of the Olympiad. The first line contains the number of participants N. This is followed by N lines with the following format: 
<LastName> <Name> <Points>

where <lastname> – a string of no more than 20 characters; 
- <Name> – a string of no more than 15 characters; 
- <Points> – a string containing three space-separated integers corresponding to the points received by the participant for each task of the first round. At the same time, <Surname> and <Name>, <Name> and <Points> separated by one space.

Input string examples:    
Petrova Olga 25 18 16
Kalinichenko Ivan 14 19 15 

Write a program that will display the last name and first name of the participant who scored the maximum number of points. If among the other participants there are students who scored the same number of points, then their last names and first names should also be displayed (one participant per line). In this case, the names and surnames can be displayed in any order.