Sum of negative
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the sum of negative integers in the given array.
Input
The first line contains the number . The second line contains integers, each no more than by absolute value.
Output
Print the sum of negative integers in the array. If there is no negative integers in array, print .
Examples
Input #1
Answer #1
Submissions 3K
Acceptance rate 69%