#P190. 练31.2 数值统计

练31.2 数值统计

Description

Count the number of negative numbers, zeros, and positive numbers among the given n numbers.

Input Format

The first number in the input is an integer n, indicating the number of values to be counted, followed by n integers, where -100 ≤ all numbers ≤ 100.

Output Format

Output a line containing a, b, and c, representing the count of negative numbers, zeros, and positive numbers in the given data, respectively.

Sample

6 0 1 2 3 -1 0
1 2 3