the price of 10 chairs is equal to that of 4 tables . the price of 15 chairs and 2 tables together is rs . 4000 . the total price of 12 chairs and 3 tables is ?
n0 = 10.0
n1 = 4.0
n2 = 15.0
n3 = 2.0
n4 = 4000.0
n5 = 12.0
n6 = 3.0
t0 = n1 / n0
t1 = n2 * t0
t2 = n3 + t1
t3 = n4 / t2
t4 = n6 * t3
t5 = t0 * t3
t6 = n5 * t5
answer = t4 + t6
print(answer)