box-n-ball-1

Bozo is shifting his house. He has some balls and boxes which he has to shift. He now wonders how large a ball he can fit in a given box. Given the dimensions of a box, help Bozo determine the radius of the largest ball that he can fit in the box. Assume that an inflated ball will be spherical.

Input:-

The first line of the input will be T, the number of test cases. Next follows T lines each containing three space separated integers (L, B, H) which are the length, breadth and height of the box respectively.

Output:-

Print T lines each consisting of the radius(correct to 1 decimal place) of the largest ball that Bozo can fit in the box of dimensions corresponding to each test case.

Constraints:

1 ≤ T ≤ 10^5 
1 ≤ L, B, H ≤ 10^18

SAMPLE INPUT
3
1 2 3
3 3 7
987548 4578445 9645875456

SAMPLE OUTPUT
0.5
1.5
493774.0

Source: hackerearth | Difficulty: UNKNOWN_DIFFICULTY


Solutions:
cases = int(input())
 
for case in range(cases):
	arr = list(map(int, input().split()))
	print('%.1f' % (min(arr) / 2.0))


def min(arg1,agr2,arg3):
	if arg1 < agr2 and arg1 < arg3 :
		return arg1
	elif agr2 < arg3 :
		return agr2
	else :
		return arg3


t = int(input())
while t > 0:
	l,b,h = input().split()
	ans = min(int(l),int(b),int(h))/2.0
	print("%.1f" % ans)
	t-=1


t=int(input())
while t:
	t-=1
	a,b,c=input().split()
	a,b,c=int(a),int(b),int(c)
	
	d=min(a,b,c)
	
	print("{0:.1f}".format(d/2.0))


noOfTestCases = int(input())

for no in range(1, noOfTestCases + 1):
	l,b,h = input().split(" ")
	l, b, h = float(l), float(b), float(h)
	
	no = min(l, b, h) / 2 
	intNo = int(no)
	decimal = int((no - intNo) * 10)
	
	print(str(intNo) + "." + str(decimal)) 
	


N=int(eval(input()))
ans=[]
for i in range (0,N):
	s=input()
	s_arr=s.split(" ")
	l=int(s_arr[0])
	b=int(s_arr[1])
	h=int(s_arr[2])
	dimtr=min(l,b,h)
	dimtr=dimtr*10
	anss=str((dimtr/20))+"."+str((dimtr/2)%10)
	ans.append(anss)
for s in ans:
	print(s)


noOfTestCases = int(input())

def maxRadius(l,b,h):
	
	no = min(l, b, h) / 2 
	intNo = int(no)
	decimal = int((no - intNo) * 10)
	
	print(str(intNo) + "." + str(decimal)) 

for no in range(1, noOfTestCases + 1):
	l,b,h = input().split(" ")
	l, b, h = float(l), float(b), float(h)
	maxRadius(l, b, h)
	


'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
t=int(input())
while(t):
	a=input().split()
	m=min(int(a[i]) for i in range(3))
	r=float(m)/float(2)
	print("%0.1f" % r)
	t-=1


'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
t=int(input())
while t>0:
	l,b,h=list(map(int,input().split()))
	z=min(l,min(b,h))
	res=z/2.0
	print("%0.1f" % res)
	t-=1