PP2. Week 6: April 12 - 18
Sum of negative
Find the sum of negative integers in the given array.
The first line contains the number n. The second line contains n integers, each no more than 100 by absolute value.
Print the sum of negative integers in the array. If there is no negative integers in array, print 0.
5 -5 6 8 -3 0