There are fruits. The size of fruit is .
You may merge two fruits of the same size. Merging two fruits of size removes both of them and creates one fruit of size .
Find the largest fruit size that can be obtained by performing this operation any number of times, possibly zero.
The input is given in the following format:
Print the largest fruit size that can be obtained.
The first line contains the number of fruits . The second line contains their sizes , separated by spaces.
| 3 | 62 | No additional constraints. |