9079 - Bigger Number   

Description

Given N positive numbers. Find the biggest number composed of these numbers.

Input

The input includes multiple test cases. In each test case, the first line contains one integer N. The following line contains N positive integers.

1 <= N <= 50

0 <= <= 50000

Output

Output the biggest number composed of these numbers.

Sample Input  Download

Sample Output  Download

Tags




Discuss