Code
T1 = list(map(float,input().split()))
T2 = list(map(float,input().split()))
T3 = list(map(float,input().split()))
def cmp(T):
if T[0]>T[1] and T[0]>T[2]:
return "W",T[0]
elif T[1]>T[0] and T[1]>T[2]:
return "T",T[1]
else:
return "L",T[2]
r1,s1 = cmp(T1)
r2,s2 = cmp(T2)
r3,s3 = cmp(T3)
print(r1,r2,r3,f"{(s1*s2*s3*0.65-1)*2:.2f}")