5066: 【31课】【3190】数值统计

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:118 Solved:60

Description

统计给定的 n(n < 10000)个数中,负数、零和正数的个数。

Input

输入的第一个数是整数 n,表示需要统计的数值的个数,然后是 n 个整数,-100≤ 所有数字 ≤100

Output

输出一行 a,b 和 c,分别表示给定的数据中负数、零和正数的个数。

Sample Input Copy

6 0 1 2 3 -1 0

Sample Output Copy

1 2 3