{"problem":{"name":"Do you know the second highest mountain?","description":{"content":"The Republic of AtCoder has $N$ mountains. The $i$\\-th mountain has a name $S_i$ and a height of $T_i$. Return the name of the second highest mountain there. It is guaranteed that all the mountains ha","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc201_b"},"statements":[{"statement_type":"Markdown","content":"The Republic of AtCoder has $N$ mountains. The $i$\\-th mountain has a name $S_i$ and a height of $T_i$.\nReturn the name of the second highest mountain there. It is guaranteed that all the mountains have different names and different heights.\n\n## Constraints\n\n*   $2 \\leq N \\leq 1000$\n*   $1 \\leq ({}$the length of $S_i) \\leq 15$\n*   $1 \\leq T_i \\leq 10^5$\n*   $S_i \\neq S_j \\ (i \\neq j)$\n*   $T_i \\neq T_j \\ (i \\neq j)$\n*   $S_i$ consists of uppercase English letters, lowercase English letters, and digits.\n*   $N$ and $T_i$ are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n$S_1$ $T_1$\n$S_2$ $T_2$\n$\\vdots$\n$S_N$ $T_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc201_b","tags":[],"sample_group":[["3\nEverest 8849\nK2 8611\nKangchenjunga 8586","K2\n\nThe second highest mountain in the world is K2."],["4\nKita 3193\nAino 3189\nFuji 3776\nOkuhotaka 3190","Kita\n\nThe second highest mountain in Japan is Kita-dake."],["4\nQCFium 2846\nchokudai 2992\nkyoprofriends 2432\npenguinman 2390","QCFium"]],"created_at":"2026-03-03 11:01:14"}}