An array of integers π_0, π_1, π_2 β¦ π_{πβ1} is given. You need to sum all the numbers in this array. While calculating the sum, disregard the largest numbers. In other words, you should sum the numbers in the array excluding the maximum numbers.
The input starts with the integer , followed by the integers π_0, π_1, π_2 β¦ π_{πβ1} on the next line (1 β€ π β€ 100 and β100 β€ π_π β€ 100).
Output the sum of the numbers in the array excluding the maximum numbers.
Example 1