the average waight of a , b , c is 45 kg . the avgwgt of a & b be 40 kg & that of b , c be 43 kg . find the wgt of b .
n0 = 45.0
n1 = 40.0
n2 = 43.0
t0 = n1 * 2.0
t1 = n2 * 2.0
t2 = n0 * 3.0
t3 = t0 + t1
answer = t3 - t2
print(answer)