1914: 【CSP字符串】找字典码最小的字符串▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:2

Description

编写程序,针对输入的 lns="http://www.w3.org/1998/Math/MathML">N 个不同的字符串,输出其中字典码最小的字符串。

Input

输入第一行给出正整数 lns="http://www.w3.org/1998/Math/MathML">N ;

随后 lns="http://www.w3.org/1998/Math/MathML">N 行,每行给出一个长度小于 lns="http://www.w3.org/1998/Math/MathML">80 的非空字符串,其中不会出现换行符,空格,制表符。

Output

输出字典码最小的字符串。

Sample Input Copy

5
Li
Wang
Zha
Jin
Xian

Sample Output Copy

Jin