SP20979 UCBINTC - Good

Description

You are given a sequence A consisting of N integers (not to be confused with the sequence from a previous

Input Format

The first line of input contains the positive integer N (1 N 5000), the length of the se- quence A. The second line of input contains N space separated integers representing the sequence A (−100000 A $ _{i} $ 100000).

Output Format

The first and only line of output must contain the number of good elements in the sequence.