Competitions
PP2. Week 6: April 12 - 18
Number of positive
Find the number of positive numbers in the given array.
Input
The first line contains the number n. The second line contains n integers, each no more than 100 by absolute value.
Output
Print the number of positive integers in the array.
Input example #1
5 -5 6 8 -3 0
Output example #1
2