EasyRating 800
Sum of Positives
Print the sum of the positive numbers only.
Input
n, then n integers.
Output
The sum.
Sample 1
Input
5 1 -2 3 -4 5
Output
9
Sample 2
Input
2 -1 -1
Output
0
Output appears heren, then n integers.
The sum.
5 1 -2 3 -4 5
9
2 -1 -1
0
Output appears here