Problems
Sum of negative
Sum of negative
Find the sum of negative integers in the given array.
Input data
The first line contains the number n. The second line contains n integers, each no more than 100 by absolute value.
Output data
Print the sum of negative integers in the array. If there is no negative integers in array, print 0.
Examples
Input example #1
5 -5 6 8 -3 0
Output example #1
-8