packing

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:
import sys
for _ in range(int(eval(input()))):
	l,b,h = list(map(float,sys.stdin.readline().split()))
	if(l<b and l<h):
		print("%0.1f"%(l/2))
	elif(b<h and b<l):
		print("%0.1f"%(b/2))
	elif(h<l and h<b):
		print("%0.1f"%(h/2))
	elif(l==b and l<h):
		print("%0.1f"%(l/2))
	elif(l==h and l<b):
		print("%0.1f"%(l/2))
	elif(b==h and b<l):
		print("%0.1f"%(h/2))
	elif(l==b and l==h):
		print("%0.1f"%(l/2))



t=int(input())
while t>0:
	string_input = input()
	l = string_input.split() 
	l = [int(a) for a in l]
	w=float(min(l))/2
	print('%.1f' %w)
	t=t-1


T = input();
T=int(T);
while (T>0):
	T=T-1;
	a, b, c = list(map(float,input().split()));
	print("%.1f" %(float(min(a,b,c))/2));


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

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
T = input();
T=int(T);
while (T>0):
	T=T-1;
	a, b, c = input().split();
	a = float(a);
	b = float(b);
	c = float(c);
	print("%.1f" %(float(min(a,b,c))/2));


T = input();
T=int(T);
while (T>0):
	T=T-1;
	a, b, c = input().split();
	a = float(a);
	b = float(b);
	c = float(c);
	print("%.1f" %(float(min(a,b,c))/2));


import sys
for _ in range(int(eval(input()))):
	l,b,h = list(map(float,sys.stdin.readline().split()))
	if(l<b and l<h):
		print("%0.1f"%(l/2.0))
	elif(b<h and b<l):
		print("%0.1f"%(b/2.0))
	elif(h<l and h<b):
		print("%0.1f"%(h/2.0))
	elif(l==b and l<h):
		print("%0.1f"%(l/2.0))
	elif(l==h and l<b):
		print("%0.1f"%(l/2.0))
	elif(b==h and b<l):
		print("%0.1f"%(h/2.0))
	elif(l==b and l==h):
		print("%0.1f"%(l/2.0))



n=int(input())
for j in range(n):
	s=list(map(float,input().split()))
	r=min(s[0],s[1],s[2])/2
	print("%.1f" % r)


for i in range(int(input())):
	print('%0.1f'  %(min(list(map(int,input().split())))/2.0))
	


n=int(input())
for j in range(n):
	s=list(map(float,input().split()))
	r=min(s[0],s[1],s[2])/2
	print("%.1f" % r)