## PIB '20 P1 - Marcus and Head Bonks

View as PDF

Points: 3 (partial)
Time limit: 0.5s
Memory limit: 128M

Author:
Problem type

Marcus loves giving out hugs. Each day, there are people that Marcus can choose to hug or not. Person will have a cuteness value of . Marcus is a picky hugger, and only wishes to hug people with a positive cuteness value. Otherwise, if you have a non-positive cuteness value, he will only give you a head pat (which hurts). Can you determine how many people Marcus will hug by the end of the day?

#### Input Specification

The first line will contain the integer .

The next line will contain integers, , the cuteness value of person .

#### Output Specification

Output the number of people Marcus will hug.

#### Sample Input

5
-1 -5 3 2 0

#### Sample Output

2

#### Explanation For Sample

Only person and person have a positive cuteness value, so Marcus will hug only them.