题目描述
Problem Statement
As they say, small is cute and beautiful.
Given N distinct positive integers, find the smallest number that can be formed by concatenating all of them.
Input Format
The first line of the input file contains a positive integer N. Then N lines follow.
Each line contains a single positive integer K.
Output Format
Output the smallest possible number that can be formed by concatenating all the numbers.
Constraints
1 ≤ N ≤ 5000
1 ≤ K ≤ 10^15
SAMPLE INPUT
5
14
66
907
1234567890
9876543210
SAMPLE OUTPUT
123456789014669079876543210
输入格式
见题面
输出格式
见题面
样例输入
5
14
66
907
1234567890
9876543210
SAMPLE
样例输出
123456789014669079876543210