As the cricket fever is on,you are given the task of calculating the run rate of a cricket match,but you are only provided with overs completed , current run rate and runs scored in next over.So you have to calculate the new run rate correctly upto two decimal places.

Input

The first line of the input contains an integer T denoting the number of test cases. The description of T test cases follows.
The first line of each test case contains three space-separated integers O R S
O denotes overs completed, R denotes current run rate and S denotes runs scored in next over.


Output
Print the new run rate correctly upto two decimal places

Constraints

1 ≤ T ≤ 1000
1 ≤ O ≤ 50
1 ≤ R ≤ 36
1 ≤ S ≤ 36


Example
Input:
1
16 6 8
Output:
6.12
test=int(raw_input())
while(test>0):
	inp=map(int,raw_input().split())
	overs,crr,nrr=inp[0],inp[1],inp[2]
	new_rr=(float)((overs*crr)+nrr)/(overs+1)
	#print overs,crr,nrr,new_rr
	print "%.2f" % new_rr
	test-=1