~/algor $ cat problems/for-musbat-manfiy-va-nollar
Positives, negatives and zeros
Easy
1000 ms
64 MB
29%
A positive integer $n$ and $n$ integers are given. Determine how many of them are positive, how many are negative and how many are zero.
Input
The first line contains $n$. The second line contains $n$ integers separated by spaces.
Output
One line with three integers separated by spaces: the number of positives, the number of negatives and the number of zeros.
Note
$1 \le n \le 1000$
$-10^{9} \le a_{i} \le 10^{9}$
Examples
Input #1
5 3 -1 0 5 -8
Output #1
2 2 1
Input #2
3 0 0 7
Output #2
1 0 2