Hanxin selects more soldiers for the better!
Hanxin ordered N soldiers to form an army. Each soldier has his own force value. The overall force value of the army is twice the total force value of all soldiers in the army. Do you know the overall force value of Hanxin's army?
The first line is a positive integer N (1≤N≤100), representing the number of soldiers ordered by Hanxin.
The second line is N positive integers not greater than 1000, representing the force values of N soldiers respectively.
Output an integer, that is, the overall force value of Hanxin's army.