a , b and c started a business by investing rs . 800 / - , rs . 1000 / - and rs . 1200 / - respectively for two years . total profit is rs . 1000 / - . find the c ' s share ?
n0 = 800.0
n1 = 1000.0
n2 = 1200.0
n3 = 1000.0
t0 = n0 + n1
t1 = n2 + t0
t2 = n1 / t1
answer = n2 * t2
print(answer)