e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Quick start C

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.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5
-5 6 8 -3 0
Output example #1
2
Author Michael Medvedev