a , b and c are partners in a business . their capitals are respectively , rs . 5000 , rs . 6000 and rs . 4000 . a gets 30 % of the total profit for managing the business . the remaining profit is divided among 3 in the ratio of their capitals . in the end of the year , the profit of a is rs . 200 more than the sum of the profits of b and c . find the total profit ?
n0 = 5000.0
n1 = 6000.0
n2 = 4000.0
n3 = 30.0
n4 = 3.0
n5 = 200.0
t0 = n0 + n1
t1 = 10.0 * 100.0
t2 = n2 + t0
t3 = t2 / t1
answer = n5 * t3
print(answer)