Each input file contains one test case. Each case gives a positive integer N (<=10000) followed by N number segments. Each segment contains a non-negative integer of no more than 8 digits. All the numbers in a line are separated by a space.
For each test case, print the smallest number in one line. Do not output leading zeros.
5 32 321 3214 0229 87
22932132143287
这道题你会答吗?花几分钟告诉大家答案吧!