Sartaj Singh is an honest police officer. One day he receives an anonymous call from Ganesh Gaitonde, a notorious crime lord who has been missing for 16 years. Gaitonde tells Singh to save the city in 25 days which leads to a chain of events. In order to save the city and reach the next clue, Sartaj has to solve the question given to him by Gaitonde.
Gaitonde gives Sartaj an array of numbers and asks them to combine in a way that yields the largest value.
Help Sartaj to solve the problem.
INPUT FORMAT
The first line contains N denoting the number of elements in the array.
The second line contains N-space separated integers denoting elements of the array.
OUTPUT FORMAT
Print the largest number formed by arranging the elements of the array.