Given the set of integers, find the sum of all positive integers in it. **Solutions can be sent in any language supported by SPOJ except Whitespace.**

### Input

*t* – number of test cases [*t* < 1000]

On each of next t lines given a integer N [-1000 <= N <= 1000]

### Output

One integer equals to sum of all positive integers.

### Score

Score equals to size of source code of your program except symbols with ASCII code <= 32.

### Example

1 2 3 4 5 6 7 8 |
<b>Input:</b> 4 5 -5 6 -1 <b>Output:</b> 11 |

C Program :

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#include<stdio.h> int main() { unsigned long sum=0; short n,a,i; scanf("%hu",&n); for(i=0;i<n;i++) { scanf("%hu",&a); if(a>0) sum+=a; } printf("\n%lu",sum); return 0; } |

## Speak Your Mind