Itami finally made it to the manga convention! There are mangas that Itami would like to buy. However, his job in the army doesn't earn him a whole lot, so he only has enough money for one. Knowing this, it shouldn't come as a surprise that he wants to buy the best one.
Itami has a list of the mangas he wants to buy and their respective ratings from online sources. Unfortunately, due to unforeseen circumstances, he has no time to look through his long list. Help Itami figure out which manga he should buy.
The first line of input will contain , the number of mangas Itami is considering.
The next lines will contain string , the name of the -th manga and , its rating with up to 2 decimal places. It is guaranteed that manga names will contain no more than lowercase letters and that all names and ratings are distinct.
The only line of output should contain string , the name of the best manga in Itami's list.
4 naruto 7.79 bleach 7.97 onepiece 8.62 gate 10