eolymp
bolt
Try our new interface for solving problems
Problems

Number of positive

Number of positive

Find the number of positive numbers in the given array. \InputFile The first line contains the number $n~(1 \le n \le 100)$. The second line contains $n$ integers, each no more than $100$ by absolute value. \OutputFile Print the number of positive integers in the array.
Time limit 1 second
Memory limit 128 MiB
Input example #1
5
-5 6 8 -3 0
Output example #1
2
Author Michael Medvedev