the average age of 15 students of a class is 15 years . out of these , the average age of 8 students is 14 years and that of the other 6 students is 16 years , the age of the 15 th student is
n0 = 15.0
n1 = 15.0
n2 = 8.0
n3 = 14.0
n4 = 6.0
n5 = 16.0
n6 = 15.0
t0 = n0 * n0
t1 = n2 * n3
t2 = n4 * n5
t3 = t1 + t2
answer = t0 - t3
print(answer)