407951: GYM102948 A Spiciest Snek
Description
Sneks are nifty creatures, equipped with all manner of defense mechanisms. From camouflaging vipers to striking cobras to wood snakes that shoot blood from their eyes, sneks can really live up to their alternative title as "danger noodles."
One of the most powerful deterrents and methods of subduing prey for many snakes is the venom injected out of their fangs when biting, but the strength of snake venom varies greatly depending on species. Given a list of venomous snake species and the median amount of venom required to be deadly, determine which snek must be the spiciest!
InputThe first line of input contains a single integer $$$N$$$ ($$$1 \leq N \leq 10^5$$$), denoting the number of snake species to follow. Each of the next $$$N$$$ lines contains the spaceless name of a snake species followed by the decimal value of the MLD (median lethal dose) in mg/kg for that snake's venom ($$$0.0 \leq MLD \leq 10.0$$$).
OutputOutput the species name of the deadliest snek, indicated by the smallest MLD value.
You are guaranteed that there will be no ties and no two MLD values within $$$10^{-5}$$$ of one another.
ExampleInput8 black_mamba 0.28 coastal_taipan 0.106 indian_cobra 0.80 common_krait 0.365 eastern_brown_snake 0.03 russells_viper 0.162 king_cobra 1.09 common_death_adder 0.4Output
eastern_brown_snake