Count positives, negatives, and zeros. Print each count divided by n, with 6 digits after the decimal.
Input
6 -4 3 -9 0 4 1
Output
0.500000 0.333333 0.166667