Being a Programmer you have to learn how to make your output looks better. According to the company, its company programmers have to present its output in a different manner as : If your output is 10.000000 you can save the decimal places and thus your output becomes 10. Now u have the learn the way to output. You are given elements of an array A[N] and you have to divide N by total no. of +ve integers, N by total no. of -ve integers and N by total no. of zero value integers.

**Input :**

The first line of input contains an integer T denoting the no of test cases. Then T test cases follow.

Second line contains N - array size. Third line contains the elements of array.

**Output :
For each test case in a new line print the division value of**

N by Total no. of +ve integers

N by Total no. of -ve integers

N by Total no. of zero value integers

**Constraints :**

1 ≤ T ≤ 50

1 ≤ N ≤ 100

1 ≤ A[i] ≤ 1000

**Input : **

1

10

7 7 7 7 7 7 -9 -9 -9 0

**Output : **

1.66667

3.33333

10

Author: Mohit Gupta 4

bro_C_code | 101 |

Vittorino92 | 89 |

an0nym0u5 | 85 |

Ibrahim Nash | 80 |

SeungminLee | 72 |

Ibrahim Nash | 423 |

blueberry | 315 |

xiaowang | 306 |

rutvikpatel29 | 250 |

sushanto | 244 |

akhayrutdinov | 4868 |

Quandray | 4236 |

Ibrahim Nash | 4087 |

sanjay05 | 3668 |

GB11 | 2857 |