the average of 9 observations was 8 , that of the 1 st of 5 being 10 and that of the last 5 being 8 . what was the 5 th observation ?
n0 = 9.0
n1 = 8.0
n2 = 1.0
n3 = 5.0
n4 = 10.0
n5 = 5.0
n6 = 8.0
n7 = 5.0
t0 = n3 * n4
t1 = n1 * n3
t2 = n0 * n1
t3 = t0 + t1
answer = t3 - t2
print(answer)